Spaces:
Running
Running
FROM python:3.9 | |
RUN mkdir /app | |
WORKDIR /app | |
# download model and put in trained_model folder | |
# RUN wget https://drive.ahdsoft.dev/s/xp5Mb7bQ34Z7BRX/download/trained_model_10000.pt | |
# RUN mkdir trained_model | |
# RUN mv trained_model_10000.pt trained_model/ | |
# download packages | |
COPY requirements.txt . | |
ENV HTTP_PROXY http://172.17.0.1:10805 | |
ENV HTTPS_PROXY http://172.17.0.1:10805 | |
ENV http_proxy http://172.17.0.1:10805 | |
ENV https_proxy http://172.17.0.1:10805 | |
RUN pip install -r requirements.txt | |
COPY . . | |
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7272", "--server.address=0.0.0.0", "--client.showErrorDetails=false"] | |