diff --git a/Dockerfile b/Dockerfile index 6941dd6..01e6c16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,12 @@ -FROM node:18-alpine +FROM node:20 AS build-stage WORKDIR /app -COPY package.json . +COPY package*.json /app/ RUN npm install -RUN npm i -g serve - -COPY . . +COPY ./ /app/ RUN npm run build