Add docker support
This commit is contained in:
parent
9cc09014a4
commit
113fad6390
3 changed files with 399 additions and 1 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -0,0 +1,11 @@
|
|||
FROM python:3.14
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY ./app /code/app
|
||||
|
||||
CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80"]
|
||||
Loading…
Reference in a new issue