Browse Source

Fixed NPM build dependency conflict for server

Alex 3 năm trước cách đây
mục cha
commit
397f8c70b4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      server/Dockerfile

+ 2 - 2
server/Dockerfile

@@ -8,8 +8,8 @@ COPY package.json package-lock.json ./
 
 RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
 
-RUN npm install
+RUN npm install --legacy-peer-deps
 
 COPY . .
 
-RUN npm run build
+RUN npm run build