bohesocool commited on
Commit
696449b
·
verified ·
1 Parent(s): b94d924

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -27,4 +27,4 @@ ENV LOG_LEVEL=debug
27
  EXPOSE 8080
28
 
29
  # 运行应用
30
- CMD ["./main"]
 
27
  EXPOSE 8080
28
 
29
  # 运行应用
30
+ CMD ["sh", "-c", "./main 2>&1 | tee /app/logs/app.log"]