Download Dockerfile from Qempireautomation/qrypto-engine: direct link, hf CLI and curl.
- Browser
- Download file 554 Bytes
-
https://huggingface.co/Qempireautomation/qrypto-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://Qempireautomation/qrypto-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Qempireautomation/qrypto-engine/resolve/main/Dockerfile
554 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY qrypto/ ./qrypto/ | |
| COPY api/ ./api/ | |
| # Spaces mount persistent storage at /data when enabled; db.py falls back to /tmp if it isn't writable. | |
| ENV QRYPTO_DATA_DIR=/data | |
| RUN mkdir -p /data && chmod 777 /data | |
| EXPOSE 7860 | |
| # Single worker on purpose: the bot manager holds live runner state in-process. | |
| CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"] | |