1
This commit is contained in:
parent
d92dadd3a0
commit
a7a3a9a4a8
@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt # 禁用缓存减小体积
|
||||
COPY . .
|
||||
EXPOSE 5000
|
||||
USER appuser # 切换非 root 用户
|
||||
CMD ["gunicorn", "app:app"]
|
||||
CMD ["python main.py"]
|
||||
Loading…
Reference in New Issue
Block a user