Added Dockerfile
This commit is contained in:
parent
10f04c9315
commit
3532dd5375
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM python:3.9
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
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