Files
amap/backend/Dockerfile
JulienAldon a530e71103
All checks were successful
Deploy Amap / deploy (push) Successful in 8s
add dockerfile
2026-02-20 01:12:23 +01:00

13 lines
330 B
Docker

FROM python:3.12
WORKDIR /code
RUN apt update && apt install -y weasyprint
COPY ./backend/requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./backend /code
CMD ["fastapi", "run", "src/main.py", "--port", "8000", "--root-path", "/api", "--forwarded-allow-ip='*'"]