This commit is contained in:
TDLaouer 2025-07-14 00:54:20 +02:00
parent 91ab1ac26d
commit dcdf167fc5

View File

@ -8,8 +8,6 @@ RUN corepack enable
FROM base as build FROM base as build
WORKDIR /app WORKDIR /app
RUN npm install -g pm2
COPY package*.json ./ COPY package*.json ./
RUN yarn RUN yarn
@ -20,6 +18,8 @@ RUN yarn run build
FROM base FROM base
RUN npm install -g pm2
COPY --from=build /app/.output /app/.output COPY --from=build /app/.output /app/.output
ENV PORT=3001 ENV PORT=3001