Spaces:
Running
Running
Download Dockerfile from kirimdata369/ai-hacking-team: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/kirimdata369/ai-hacking-team/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kirimdata369/ai-hacking-team/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kirimdata369/ai-hacking-team/resolve/main/Dockerfile
388 Bytes
| # Use the official Python image | |
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the application | |
| COPY . . | |
| # Expose the default port for Hugging Face Spaces | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| # Run the FastAPI server | |
| CMD ["python", "server.py"] | |