diff --git a/Dockerfile b/Dockerfile index ba1101e..f01bf92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM node:18 AS frontend-builder WORKDIR /frontend -COPY ./_frontend . +COPY ./_frontend/package.json ./package.json +COPY ./_frontend/package-lock.json ./package-lock.json RUN npm install +COPY ./_frontend . RUN npm run build FROM golang:1.18-alpine AS server-builder