Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
docker pls x2
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Aug 10, 2020
1 parent 3167bef commit e77fc4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ RUN apk update && apk add git ca-certificates
COPY . .
RUN mv settings.example.json settings.json
RUN npm i --production
RUN tsc-transpile-only
RUN npm run prod
RUN rm -rf src/ @types/ settings.json
CMD ["npm", "start"]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"node-sass": "^4.14.1"
},
"scripts": {
"prod": "tsc-transpile-only",
"compile": "rm -rf dist/ && tsc",
"start": "node dist/src/app",
"pm2": "pm2 start dist/src/app.js --name 'DEL'",
Expand Down

0 comments on commit e77fc4a

Please sign in to comment.