Download Dockerfile from josephrw/live-code-camera-engine: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/josephrw/live-code-camera-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/josephrw/live-code-camera-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/josephrw/live-code-camera-engine/resolve/main/Dockerfile
288 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY backend /app/backend | |
| COPY frontend /app/frontend | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"] | |