19 lines
351 B
Docker
19 lines
351 B
Docker
# 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_app.py"] |