21 lines
379 B
Docker
21 lines
379 B
Docker
FROM python:3.10-slim-bullseye
|
|
|
|
ENV HOST=0.0.0.0
|
|
|
|
ENV LISTEN_PORT 8080
|
|
|
|
EXPOSE 8080
|
|
|
|
RUN apt-get update && apt-get install -y git
|
|
|
|
COPY ./requirements.txt /app/requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
|
|
WORKDIR app/
|
|
|
|
COPY ./src /app/src
|
|
COPY ./.streamlit /app/.streamlit
|
|
|
|
CMD ["streamlit", "run", "src/main.py", "--server.port", "8080"]
|