initial
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user