Update Frontend/erp-system/Dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user