From be48543dd37fccd3bfb46b9264cc56783506d25b Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 19 Oct 2023 14:20:01 +0100 Subject: [PATCH] fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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