diff --git a/deploy/platform-frontend.Dockerfile b/deploy/platform-frontend.Dockerfile index fdc04db..a4260a0 100644 --- a/deploy/platform-frontend.Dockerfile +++ b/deploy/platform-frontend.Dockerfile @@ -2,11 +2,10 @@ FROM node:22-alpine AS build WORKDIR /app -COPY platform/frontend/package.json platform/frontend/package-lock.json ./ - +COPY platform/frontend/package*.json ./ RUN npm ci -COPY platform/frontend/ . +COPY platform/frontend/ ./ RUN npm run build @@ -15,7 +14,7 @@ FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html -COPY deploy/platform-nginx.conf /etc/nginx/conf.d/default.conf +COPY platform-nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80