Spaces:
Build error
Build error
Download Dockerfile from ariansyahdedy/comment_moderator: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/ariansyahdedy/comment_moderator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ariansyahdedy/comment_moderator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ariansyahdedy/comment_moderator/resolve/main/Dockerfile
362 Bytes
| FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements and install them | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the app (including app.py and templates folder) | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |