13 lines
309 B
Docker
13 lines
309 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", "--forwarded-allow-ips", "*"] |