Spaces:
Running
Running
FROM python:3.9 | |
ENV PATH="/home/user/.local/bin:$PATH" | |
WORKDIR /code | |
COPY . /code | |
RUN pip install --upgrade pip | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY --chown=user ./requirements.txt requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
EXPOSE 7860 | |
CMD ["streamlit", "run", "app/app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |