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 - name: Build Docker image
run: | run: |
docker build --progress=plain --no-cache --network=host \ docker build --progress=plain --no-cache \
-t erpcore-frontend:latest \ -t erpcore-frontend:latest \
./Frontend/erp-system ./Frontend/erp-system
- name: Stop & remove existing container - name: Stop & remove existing container
+3 -2
View File
@@ -20,8 +20,9 @@ ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=6702 ENV PORT=6702
COPY package.json package-lock.json ./ COPY package.json ./
RUN npm ci --omit=dev && npm cache clean --force 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/.next ./.next
COPY --from=builder /app/public ./public COPY --from=builder /app/public ./public