This commit is contained in:
RTAkland
2023-02-24 21:14:46 +08:00
parent 93ea886284
commit feccf84302
1 file changed
+1 -1
+1 -1
View File
@@ -3,4 +3,4 @@ EXPOSE 8000
WORKDIR . WORKDIR .
COPY . . COPY . .
RUN apt-get -y update && apt-get -y install python3-pip && pip3 install -r requirements.txt RUN apt-get -y update && apt-get -y install python3-pip && pip3 install -r requirements.txt
CMD ["python3", "main.py"] CMD ["uvicorn", "src:create_app", "--host=0.0.0.0", "--port=8000"]