fix dockerfile port expose

This commit is contained in:
lan-air
2022-12-09 23:37:04 +08:00
parent 3f18af15ed
commit 14653ab4c9
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
WORKDIR /app
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
EXPOSE 123456
EXPOSE 12345
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "12345"]