Spaces:
Sleeping
Sleeping
File size: 431 Bytes
67e3963 e90aa5e 1a9924d 187de79 e90aa5e 67e3963 e90aa5e 67e3963 e90aa5e ac03705 a711ed8 ac03705 67e3963 e90aa5e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --upgrade pip && pip install -r requirements.txt
COPY . /app
ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
ENV MPLCONFIGDIR=/app/.config/matplotlib
RUN mkdir -p /app/.streamlit /app/.config/matplotlib
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|