count-by-class / Dockerfile
Tomatillo's picture
Update Dockerfile
7b6f3a9 verified
raw
history blame contribute delete
407 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
EXPOSE 8501
# No curl installed, so drop the HEALTHCHECK or rewrite it
# HEALTHCHECK NONE
ENV HOME=/app
ENV STREAMLIT_HOME=/app/.streamlit
RUN mkdir -p /app/.streamlit
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]