add all project files
This commit is contained in:
11
back/Dockerfile
Normal file
11
back/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.10
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY back/requirements.txt /code/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY back/ /code/
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers"]
|
||||
Reference in New Issue
Block a user