agenda-app/backend/Dockerfile

11 lines
213 B
Docker
Raw Normal View History

2024-04-12 21:12:37 +00:00
FROM python:alpine
WORKDIR /app/backend
COPY ./requirements.txt /app
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY ./src /app/backend
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]