Fix FE build

This commit is contained in:
Viet Anh Nguyen 2024-02-05 18:47:57 +07:00
parent d07d6a6ccc
commit 99a0921685

View File

@ -2,7 +2,7 @@ FROM node:21-alpine AS build
WORKDIR /app/ WORKDIR /app/
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./
RUN npm install RUN npm install -g npm@10.4.0 && npm install
COPY --chown=node:node . . COPY --chown=node:node . .
RUN npm run build RUN npm run build
RUN npm cache clean --force RUN npm cache clean --force