caipin 3 years ago
parent
commit
133bf6c2c2
2 changed files with 4 additions and 2 deletions
  1. 3 1
      deployment/Dockerfile
  2. 1 1
      deployment/Dockerfile-cache

+ 3 - 1
deployment/Dockerfile

@@ -25,7 +25,9 @@ RUN apk update && apk upgrade \
     && apk add nginx \
     && mkdir /run/nginx  \
     && touch /run/nginx.pid && \
-    chmod 755 /run.sh
+    chmod 755 /run.sh && \
+    apk del m4 autoconf make gcc g++ linux-headers
+
 RUN find / -name ngnix.pid
 
 # 复制配置文件和前端文件

+ 1 - 1
deployment/Dockerfile-cache

@@ -1,4 +1,4 @@
-FROM node:12-alpine 
+FROM node:14-alpine 
 
 COPY /client .