fix: add .dockerignore and optimize build flags for VPS memory constraints
This commit is contained in:
@@ -10,7 +10,7 @@ RUN apk update && apk upgrade --no-cache
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --legacy-peer-deps
|
||||
RUN npm install --legacy-peer-deps --no-audit --no-fund
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user