Files
liederwahl/Dockerfile
matthias@matsewe.de dfeb6d93c9 fix dockerfile
2024-07-02 14:13:25 +02:00

11 lines
267 B
Docker

FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
RUN echo "first_run" > "first_run"
CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80", "--reload"]