Fix Dockerfile front for production

This commit is contained in:
Charles Bochet 2023-04-13 14:17:40 +02:00
parent 0ae9644f43
commit eea3060652

View File

@ -3,7 +3,7 @@ FROM node:18-alpine as front
WORKDIR /app/front WORKDIR /app/front
COPY ./front . COPY ./front .
RUN npm install --production RUN npm install
RUN npm run build RUN npm run build
RUN npm install -g serve RUN npm install -g serve