Spaces:
No application file
No application file
Download dockerfile from CodeXDevloper/codex: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/CodeXDevloper/codex/resolve/413cf705cec958502bd0396216c3b7fcd4e033b0/dockerfile
- Command line
-
hf download hf://spaces/CodeXDevloper/codex@413cf705cec958502bd0396216c3b7fcd4e033b0/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/CodeXDevloper/codex/resolve/413cf705cec958502bd0396216c3b7fcd4e033b0/dockerfile
280 Bytes
| # Dockerfile 1 - Basic Flask API | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY app.py . | |
| # Expose port | |
| EXPOSE 5000 | |
| # Run the application | |
| CMD ["python", "app.py"] |