Skip to content

Commit

Permalink
Update Dockerfile (#1143)
Browse files Browse the repository at this point in the history
feat: 方便在自动化部署平台(例如zeabur)默认识别一个端口号对外暴露,同时也不影响其他部署方式通过-P的方式映射到宿主机上
  • Loading branch information
BigDataMao authored Jul 21, 2024
1 parent c9fba78 commit a87f2b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ COPY . /app
WORKDIR /app
ENV dockerrun=yes
CMD ["python3", "-u", "ChuanhuChatbot.py","2>&1", "|", "tee", "/var/log/application.log"]
EXPOSE 7860

0 comments on commit a87f2b2

Please sign in to comment.