Spaces:
Sleeping
Sleeping
Download Dockerfile from renderfy/FitStudioAI: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/renderfy/FitStudioAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/renderfy/FitStudioAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/renderfy/FitStudioAI/resolve/main/Dockerfile
353 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.address=0.0.0.0", "--server.port=7860"] |