yarn default and exclude primevue stuff
This commit is contained in:
@@ -1,24 +1,27 @@
|
||||
|
||||
ARG NODE_VERSION=22.16.0
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
FROM node:${NODE_VERSION}-slim as base
|
||||
|
||||
FROM base as build
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install -g pm2
|
||||
RUN npm install -g yarn
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm i
|
||||
RUN yarn
|
||||
|
||||
COPY --link . .
|
||||
|
||||
RUN npm run build
|
||||
RUN yarn run build
|
||||
|
||||
FROM base
|
||||
|
||||
COPY --from=build /src/.output /src/.output
|
||||
COPY --from=build /app/.output /app/.output
|
||||
|
||||
ENV PORT=3001
|
||||
ENV HOST=0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user