mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user