7
Some checks failed
deploy / deploy (push) Failing after 11s

This commit is contained in:
Lee 2023-10-27 12:17:38 +01:00
parent a7b8a0abae
commit e8ec3f6b26
2 changed files with 4 additions and 1 deletions

@ -6,4 +6,7 @@ RUN npm install --silent && mv node_modules ../
COPY . . COPY . .
RUN chown -R node /usr/src/app RUN chown -R node /usr/src/app
USER node USER node
RUN npx tsc
CMD ["npm", "start"] CMD ["npm", "start"]

@ -4,7 +4,7 @@
"version": "1.0.0", "version": "1.0.0",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"start": "tsc && node dist/index.js", "start": "node dist/index.js",
"tsc": "tsc -w", "tsc": "tsc -w",
"dev": "nodemon dist/index.js" "dev": "nodemon dist/index.js"
}, },