This commit is contained in:
natib21
2026-06-29 13:49:01 +00:00
parent 93ca1485c8
commit f2826f2b9b
2 changed files with 3 additions and 2 deletions

View File

@@ -34,4 +34,4 @@ RUN addgroup --system --gid 1001 nodejs \
COPY --from=deployer --chown=nestjs:nodejs /deploy .
USER nestjs
EXPOSE 3001
CMD ["node", "dist/main.js"]
CMD ["sh", "-c", "pnpm run migrate && node dist/main.js"]