Moved code to subfolder
This commit is contained in:
12
backend/Dockerfile
Normal file
12
backend/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.8
|
||||
WORKDIR /app
|
||||
|
||||
ADD requirements.txt /app/requirements.txt
|
||||
|
||||
RUN pip install --upgrade -r requirements.txt
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
COPY ./ /app
|
||||
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
|
Reference in New Issue
Block a user