diff --git a/Dockerfile b/Dockerfile index bca5d29..dab6480 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . ENV NEXT_TELEMETRY_DISABLED 1 -RUN npm build +RUN npm run build # Run the app FROM base AS runner @@ -37,4 +37,4 @@ USER nextjs EXPOSE 80 ENV HOSTNAME "0.0.0.0" ENV PORT 80 -CMD ["npm", "start"] \ No newline at end of file +CMD ["npm", "run", "start"] \ No newline at end of file