migrated to yarn
This commit is contained in:
@@ -1,13 +1,11 @@
|
|||||||
FROM node:16-alpine AS frontend
|
FROM node:20-bullseye-slim AS frontend
|
||||||
RUN apk add --update npm
|
|
||||||
RUN npm install -g npm@latest
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD ./frontend/package.json .
|
ADD ./frontend/package.json .
|
||||||
ADD ./frontend/package-lock.json .
|
ADD ./frontend/package-lock.json .
|
||||||
RUN npm install
|
RUN yarn install
|
||||||
COPY ./frontend/ .
|
COPY ./frontend/ .
|
||||||
RUN npm run build
|
RUN yarn build
|
||||||
|
|
||||||
|
|
||||||
#Building main conteiner
|
#Building main conteiner
|
||||||
|
|||||||
Reference in New Issue
Block a user