This commit is contained in:
2024-03-10 21:26:57 +01:00
commit 0b1a507f89
6 changed files with 463 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# set base image (host OS)
FROM python:3.11
COPY src /app/src
COPY requirements.txt /app/src
# set the working directory in the container
WORKDIR /app/src
RUN apt-get update
# install dependencies
RUN pip install -r requirements.txt
RUN rm requirements.txt
# command to run on container start
ENTRYPOINT ["streamlit", "run"]
CMD ["start_page.py"]