Created
January 30, 2026 15:33
-
-
Save rpappalax/b643555bf6f04447c7397462cbc9123c to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=8080 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment