fuliai commited on
Commit
0996b08
·
verified ·
1 Parent(s): aadad98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,8 +23,9 @@ RUN apt-get update && \
23
  USER electerm
24
  WORKDIR /app
25
 
26
- # 克隆 electerm-web 仓库并设置权限
27
  RUN git clone --depth 1 https://github.com/electerm/electerm-web.git /app/electerm-web && \
 
28
  chown -R electerm:electerm /app/electerm-web
29
 
30
  WORKDIR /app/electerm-web
 
23
  USER electerm
24
  WORKDIR /app
25
 
26
+ # 克隆 electerm-web 仓库,创建目录并设置权限
27
  RUN git clone --depth 1 https://github.com/electerm/electerm-web.git /app/electerm-web && \
28
+ mkdir -p /app/electerm-web/data && \
29
  chown -R electerm:electerm /app/electerm-web
30
 
31
  WORKDIR /app/electerm-web