Spaces:
Runtime error
Runtime error
Download Dockerfile from lahiruchamika27/DeepCoder: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/lahiruchamika27/DeepCoder/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lahiruchamika27/DeepCoder/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lahiruchamika27/DeepCoder/resolve/main/Dockerfile
258 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| # Needed for Hugging Face Spaces | |
| ENV PORT=7860 | |
| # Exposing the port | |
| EXPOSE 7860 | |
| # Command to run the app | |
| CMD ["python", "app.py"] |