Spaces:
Runtime error
Runtime error
File size: 620 Bytes
0b1042e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.8-slim-buster
COPY . /app
WORKDIR /app
RUN apt-get update -q \
&& apt-get install --no-install-recommends -qy python3-dev g++ gcc inetutils-ping \
&& pip install --progress-bar off gunicorn \
&& pip install --progress-bar off -r requirements.txt \
&& apt-get remove -qy python3-dev g++ gcc --purge \
&& rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
RUN pip install --upgrade numpy scipy pandas
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
CMD ["app.py"] |