diff --git a/Dockerfile b/Dockerfile index 01ac772..9e473a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,10 @@ FROM base RUN npm install -g pm2 -COPY --from=build /app/.output /app/.output -COPY --from=build /app/node_modules/.bin/nuxt /app/node_modules/.bin/nuxt - +COPY --from=build .output ecosystem.config.cjs . ENV PORT=3001 ENV HOST=0.0.0.0 EXPOSE 3001 -CMD ["pm2-runtime", "start", "node_modules/.bin/nuxt", "--", "start"] \ No newline at end of file +CMD ["pm2-runtime", "start", "ecosystem.config.cjs"] \ No newline at end of file