more docker

This commit is contained in:
TDLaouer 2025-07-14 01:44:00 +02:00
parent 95c21c5fcf
commit 1b97d86430

View File

@ -20,12 +20,10 @@ FROM base
RUN npm install -g pm2 RUN npm install -g pm2
COPY --from=build /app/.output /app/.output COPY --from=build .output ecosystem.config.cjs .
COPY --from=build /app/node_modules/.bin/nuxt /app/node_modules/.bin/nuxt
ENV PORT=3001 ENV PORT=3001
ENV HOST=0.0.0.0 ENV HOST=0.0.0.0
EXPOSE 3001 EXPOSE 3001
CMD ["pm2-runtime", "start", "node_modules/.bin/nuxt", "--", "start"] CMD ["pm2-runtime", "start", "ecosystem.config.cjs"]