Spaces:
Runtime error
Runtime error
| FROM python:3.8-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["python", "your_script.py"] | |
| docker build -t your_image_name . | |
| docker run -p 8000:8000 your_image_name | |