dongsiqie commited on
Commit
2da63ac
1 Parent(s): 1f23188

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,7 +1,6 @@
1
  FROM xyhelper/xyhelper-web:latest
 
 
2
 
3
- # 暴露端口
4
  EXPOSE 8080
5
-
6
- # 启动应用程序
7
  CMD ["/bin/sh", "-c" ,"./main"]
 
1
  FROM xyhelper/xyhelper-web:latest
2
+ WORKDIR /app
3
+ RUN mkdir data/sessions && chmod 777 data/sessions
4
 
 
5
  EXPOSE 8080
 
 
6
  CMD ["/bin/sh", "-c" ,"./main"]