BG5 commited on
Commit
a07786c
·
verified ·
1 Parent(s): 0d4e4ac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -13,4 +13,6 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- CMD ["python", "main.py"]
 
 
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
+ EXPOSE 17890
17
+ # 设置默认命令(可根据需要修改)
18
+ CMD ["sh", "-c", "python app.py"]