Spaces:
Paused
Paused
Download Dockerfile from matrixcoder/emote-api: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/matrixcoder/emote-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/matrixcoder/emote-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/matrixcoder/emote-api/resolve/main/Dockerfile
337 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY bot_with_api.py api.py main.py xC4.py xHeaders.py ./ | |
| COPY Pb2/ ./Pb2/ | |
| # Verify files | |
| RUN ls -la && ls -la Pb2/ | |
| EXPOSE 7860 | |
| ENV FLASK_APP=api.py | |
| ENV FLASK_ENV=production | |
| ENV TERM=xterm | |
| CMD ["python", "bot_with_api.py"] |