Merge pull request #866 from Tria-plc/dev

Trucks onsite
This commit is contained in:
Hagernesh Tadesse
2026-07-21 11:45:47 +03:00
committed by GitHub

View File

@@ -57,4 +57,7 @@ RUN addgroup --system --gid 1001 nodejs \
COPY --from=deployer --chown=nestjs:nodejs /deploy .
USER nestjs
EXPOSE 4000
CMD ["node", "dist/main.js"]
# --enable-source-maps: translate stack-trace frames from dist/*.js back to
# src/*.ts using the .js.map files nest build emits (tsconfig sourceMap:true).
# Without it Node reports compiled JS line numbers, not TypeScript source.
CMD ["node", "--enable-source-maps", "dist/main.js"]