File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN yarn install --frozen-lockfile --network-concurrency 5 --no-progress
2020COPY . .
2121
2222# Build the application
23- RUN npx tsx --build src/app.js --outfile dist/app.js
23+ RUN npx esbuild src/app.js --bundle --platform=node --format=esm --outfile= dist/app.js
2424
2525# Expose dev server port
2626EXPOSE 8080
Original file line number Diff line number Diff line change 7171 "@typescript-eslint/eslint-plugin" : " ^6.19.0" ,
7272 "@typescript-eslint/parser" : " ^6.19.0" ,
7373 "chalk" : " 4" ,
74+ "esbuild" : " ^0.23.0" ,
7475 "eslint" : " ^8.56.0" ,
7576 "eslint-config-prettier" : " ^9.1.0" ,
7677 "eslint-import-resolver-node" : " ^0.3.9" ,
Original file line number Diff line number Diff line change @@ -3322,7 +3322,7 @@ es6-promisify@^5.0.0:
33223322 dependencies :
33233323 es6-promise "^4.0.3"
33243324
3325- esbuild@~0.23.0 :
3325+ esbuild@^0.23.0, esbuild@ ~0.23.0 :
33263326 version "0.23.1"
33273327 resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.23.1.tgz#40fdc3f9265ec0beae6f59824ade1bd3d3d2dab8"
33283328 integrity sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==
You can’t perform that action at this time.
0 commit comments