From e60cb967d0da28f566dfdc58ab2cc8891d66c620 Mon Sep 17 00:00:00 2001 From: Fraser Steel <81355664+f-steel@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:52:17 +0100 Subject: [PATCH 1/2] fix(build): fixing build --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index e8f79ea..6f86b16 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: npm start \ No newline at end of file +web: node server.js \ No newline at end of file From 5ad23e0f6dce140e3e669d7d92391805784b31bd Mon Sep 17 00:00:00 2001 From: Fraser Steel <81355664+f-steel@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:02:31 +0100 Subject: [PATCH 2/2] fix(build): fixing build --- Dockerfile | 1 + Procfile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 Procfile diff --git a/Dockerfile b/Dockerfile index 1da15b5..9ca98c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/public ./public COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./package.json +COPY --from=builder /app/server.js ./server.js USER nextjs diff --git a/Procfile b/Procfile deleted file mode 100644 index 6f86b16..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: node server.js \ No newline at end of file