fix dockerfile
Some checks failed
deploy / deploy (push) Failing after 10s

This commit is contained in:
Lee 2023-10-19 14:20:01 +01:00
parent 9b00515b0e
commit be48543dd3

@ -13,7 +13,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_TELEMETRY_DISABLED 1
RUN npm build RUN npm run build
# Run the app # Run the app
FROM base AS runner FROM base AS runner
@ -37,4 +37,4 @@ USER nextjs
EXPOSE 80 EXPOSE 80
ENV HOSTNAME "0.0.0.0" ENV HOSTNAME "0.0.0.0"
ENV PORT 80 ENV PORT 80
CMD ["npm", "start"] CMD ["npm", "run", "start"]