From 34c125c5d9222c7dd326c432a7957d419cc5350c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B7=E4=BC=9F=E6=96=87?= Date: Tue, 11 Apr 2023 08:59:16 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'console/Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改构建arm64 --- console/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/console/Dockerfile b/console/Dockerfile index 79072dd..d8a4607 100644 --- a/console/Dockerfile +++ b/console/Dockerfile @@ -16,6 +16,12 @@ RUN rm -rf node_modules RUN npm install --production --registry http://10.8.30.22:7000 #RUN npm cache clean -f && npm install --production --force --registry http://10.8.30.22:7000 +FROM arm64v8/node:12-alpine + +WORKDIR /var/app + +COPY --from=0 /var/app /var/app + CMD ["-u", "http://localhost:8088"] ENTRYPOINT [ "node", "server.js" ] \ No newline at end of file