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

Commit

Permalink
Browse files Browse the repository at this point in the history
…ebsite into master
  • Loading branch information
carolinaisslaying committed Aug 10, 2020
2 parents 80efbc7 + e77fc4a commit 62b88c8
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 @@ -63,6 +63,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 62b88c8

Please sign in to comment.