Spaces:
Sleeping
Sleeping
Download Dockerfile from parthnuwal7/dodge: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/parthnuwal7/dodge/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/parthnuwal7/dodge/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/parthnuwal7/dodge/resolve/main/Dockerfile
357 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY backend/requirements.txt /app/backend/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/backend/requirements.txt | |
| COPY backend /app/backend | |
| WORKDIR /app/backend | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}"] | |