Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -35,8 +35,8 @@ RUN git clone https://github.com/qingchencloud/clawpanel.git && \
|
|
| 35 |
cd clawpanel && \
|
| 36 |
npm install && \
|
| 37 |
npm run build && \
|
| 38 |
-
|
| 39 |
-
sed -i "s/server: { *\n *port: 1420,/server: {\n host: '0.0.0.0',\n allowedHosts: true,\n port: 1420,/g" vite.config.js
|
| 40 |
#RUN curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
|
| 41 |
#
|
| 42 |
#RUN npm install -g playwright && playwright install chromium
|
|
|
|
| 35 |
cd clawpanel && \
|
| 36 |
npm install && \
|
| 37 |
npm run build && \
|
| 38 |
+
sed -i "s/server: { *$/server: {\n host: '0.0.0.0',\n allowedHosts: true,/" vite.config.js
|
| 39 |
+
#sed -i "s/server: { *\n *port: 1420,/server: {\n host: '0.0.0.0',\n allowedHosts: true,\n port: 1420,/g" vite.config.js
|
| 40 |
#RUN curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
|
| 41 |
#
|
| 42 |
#RUN npm install -g playwright && playwright install chromium
|