fix: add .dockerignore and optimize build flags for VPS memory constraints

This commit is contained in:
Marcos
2026-03-23 08:01:49 -03:00
parent 2261da27ad
commit ab71f9abc8
2 changed files with 14 additions and 1 deletions

13
.dockerignore Normal file
View File

@@ -0,0 +1,13 @@
node_modules
dist
.git
.vscode
*.log
.env
.env.local
.vercel
ios
android
out
build
tmp

View File

@@ -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