Spaces:
Sleeping
Sleeping
Download Dockerfile from coderMayank69/Synapse_Code_Auditor: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/coderMayank69/Synapse_Code_Auditor/resolve/dcc7e469e96dcc6ef303a866b273dd28fa2baf53/Dockerfile
- Command line
-
hf download hf://spaces/coderMayank69/Synapse_Code_Auditor@dcc7e469e96dcc6ef303a866b273dd28fa2baf53/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/coderMayank69/Synapse_Code_Auditor/resolve/dcc7e469e96dcc6ef303a866b273dd28fa2baf53/Dockerfile
323 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| ENV PIP_DEFAULT_TIMEOUT=240 | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir --retries 10 -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}"] | |