add dockerfile
This commit is contained in:
parent
da8439daea
commit
edddbb05dc
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM python:3.9
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
CMD [ "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80" ]
|
Loading…
x
Reference in New Issue
Block a user