Update Dockerfile
Browse files- 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
|