Initial commit

This commit is contained in:
Francois Pelletier 2023-05-07 13:49:00 -04:00
commit 94fe4e9746
7 changed files with 253 additions and 0 deletions

23
Dockerfile Normal file
View file

@ -0,0 +1,23 @@
# Set base image
FROM python:3.9-slim-buster
# Set work directory
WORKDIR /app
# Copy requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy app file
COPY main.py .
# Set environment variables
ENV PORT 8501
# Expose port
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "--server.port=8501", "main.py"]