From 3ce2ff89609eaa4c0dc39d7c586dabe54da5a263 Mon Sep 17 00:00:00 2001 From: Lee Date: Sat, 1 Jul 2023 21:19:26 +0000 Subject: [PATCH] forgot to build the next app --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index cdb92a8..ab02b2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,8 @@ COPY . . EXPOSE 3000 RUN chown -R node /usr/src/app USER node + +# Build the app +RUN npm run build + CMD ["npm", "start"]