Download Dockerfile from zzhang2816/CS_TA: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/datasets/zzhang2816/CS_TA/resolve/main/Dockerfile
- Command line
-
hf download hf://datasets/zzhang2816/CS_TA/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/zzhang2816/CS_TA/resolve/main/Dockerfile
338 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY api/requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY api/ /app/api/ | |
| COPY scripts/ /app/scripts/ | |
| ENV PYTHONPATH=/app | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "--forwarded-allow-ips", "*"] | |