Fixing pusher build + building in CI
This commit is contained in:
parent
ff17cb99d6
commit
1a5078f87d
4 changed files with 7 additions and 10 deletions
|
@ -10,6 +10,7 @@ COPY --from=builder --chown=docker:docker /var/www/messages/generated /usr/src/a
|
|||
RUN yarn install
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN yarn run tsc
|
||||
|
||||
CMD ["yarn", "run", "prod"]
|
||||
CMD ["yarn", "run", "runprod"]
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"tsc": "tsc",
|
||||
"dev": "ts-node-dev --respawn ./server.ts",
|
||||
"prod": "tsc && node --max-old-space-size=4096 ./dist/server.js",
|
||||
"runprod": "node --max-old-space-size=4096 ./dist/server.js",
|
||||
"profile": "tsc && node --prof ./dist/server.js",
|
||||
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue