forum-app/backend/Dockerfile

11 lines
204 B
Docker
Raw Permalink Normal View History

2024-04-05 23:32:59 +00:00
FROM python:alpine
2024-04-01 02:17:12 +00:00
EXPOSE 8000
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
2024-04-05 23:21:39 +00:00
COPY . .
CMD ["uvicorn", "main:app", "--log-level", "debug", "--host", "0.0.0.0"]