Add Docker file
This commit is contained in:
parent
37fceb5bd4
commit
b3b11d2d01
|
@ -0,0 +1,6 @@
|
||||||
|
FROM python:3.10-alpine
|
||||||
|
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", "main.py", "--port", "80"]
|
Loading…
Reference in New Issue