From 722edc1b73e9cce4d9f6ecb9b8457e2cf8bfb844 Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Tue, 8 Oct 2024 14:31:22 +0800 Subject: [PATCH] updated dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 872d92f..09a64a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM node:18-alpine +RUN mkdir -p /app + WORKDIR /app COPY package.json ./ @@ -9,6 +11,9 @@ RUN npm install RUN npm install --save-dev + +COPY . /app + # Build the Next.js app RUN npm run build