Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -5,7 +5,7 @@ ENV TZ=Asia/Shanghai
|
|
| 5 |
ENV OPENCLAW_PORT=18789
|
| 6 |
ENV OPENCLAW_GATEWAY_MODE=local
|
| 7 |
#ENV OPENCLAW_GATEWAY_PASSWORD=${OPENCLAW_GATEWAY_PASSWORD}
|
| 8 |
-
ENV CLAWPANEL_VER=5.2.15
|
| 9 |
|
| 10 |
# Install system dependencies
|
| 11 |
RUN apt-get update && \
|
|
@@ -48,8 +48,9 @@ RUN npm install -g openclaw@2026.3.23-1 && \
|
|
| 48 |
# clawpanel-
|
| 49 |
#RUN curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
|
| 50 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && cd clawpanel && npm install && npm run build
|
| 51 |
-
RUN curl -fsSL https://github.com/zhaoxinyi02/ClawPanel/releases/download/pro-v${CLAWPANEL_VER}/clawpanel-v${CLAWPANEL_VER}-linux-amd64 -o clawpanel-v${CLAWPANEL_VER}-linux-amd64 && \
|
| 52 |
-
chmod +x clawpanel-v${CLAWPANEL_VER}-linux-amd64
|
|
|
|
| 53 |
|
| 54 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && \
|
| 55 |
# cd clawpanel && \
|
|
|
|
| 5 |
ENV OPENCLAW_PORT=18789
|
| 6 |
ENV OPENCLAW_GATEWAY_MODE=local
|
| 7 |
#ENV OPENCLAW_GATEWAY_PASSWORD=${OPENCLAW_GATEWAY_PASSWORD}
|
| 8 |
+
#ENV CLAWPANEL_VER=5.2.15
|
| 9 |
|
| 10 |
# Install system dependencies
|
| 11 |
RUN apt-get update && \
|
|
|
|
| 48 |
# clawpanel-
|
| 49 |
#RUN curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
|
| 50 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && cd clawpanel && npm install && npm run build
|
| 51 |
+
#RUN curl -fsSL https://github.com/zhaoxinyi02/ClawPanel/releases/download/pro-v${CLAWPANEL_VER}/clawpanel-v${CLAWPANEL_VER}-linux-amd64 -o clawpanel-v${CLAWPANEL_VER}-linux-amd64 && \
|
| 52 |
+
#chmod +x clawpanel-v${CLAWPANEL_VER}-linux-amd64
|
| 53 |
+
CMD bash -c 'curl -L -o clawpanel-v${CLAWPANEL_VER} https://github.com/zhaoxinyi02/ClawPanel/releases/download/pro-v${CLAWPANEL_VER}/clawpanel-v${CLAWPANEL_VER}-linux-amd64 && chmod +x clawpanel-v${CLAWPANEL_VER}'
|
| 54 |
|
| 55 |
#RUN git clone https://github.com/qingchencloud/clawpanel.git && \
|
| 56 |
# cd clawpanel && \
|