Merge pull request 'Dev' (#84) from Dev into production

Reviewed-on: #84
This commit was merged in pull request #84.
This commit is contained in:
2026-09-20 12:27:45 +00:00
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ jobs:
.
- name: Build Docker image
run: |
docker build --progress=plain --no-cache --network=host \
docker build --progress=plain --no-cache \
-t erpcore-frontend:latest \
./Frontend/erp-system
- name: Stop & remove existing container
+3 -2
View File
@@ -20,8 +20,9 @@ ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=6702
COPY package.json package-lock.json ./
RUN npm ci --omit=dev && npm cache clean --force
COPY package.json ./
COPY --from=deps /app/node_modules ./node_modules
RUN npm prune --production && npm cache clean --force
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public