diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7404915..fca58e6 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -2,11 +2,10 @@ FROM node:21-alpine as builder WORKDIR /frontend -COPY package.json ./ -COPY package-lock.json ./ +COPY package*.json ./ -RUN npm ci +RUN npm run install COPY . /frontend -CMD ["npm", "run", "build"] +RUN npm run build