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