yarn default and exclude primevue stuff

This commit is contained in:
2025-07-14 00:01:05 +02:00
parent a6e0af641e
commit 1550360be0
4 changed files with 257 additions and 311 deletions

View File

@@ -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