Fix Dockerfile front for production
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user