Skip to content

Commit

Permalink
build: Change Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Ciaffardini authored and Gianmarco Ciaffardini committed Sep 29, 2022
1 parent 85164a0 commit 415ec26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ COPY --chown=node:node package*.json ./

COPY --chown=node:node . .

RUN yarn

RUN yarn build

ENV NODE_ENV production
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"author": "jimmysafe",
"scripts": {
"build": "npx tsc",
"build": "tsc",
"dev": "nodemon src/index.ts",
"start": "node dist/index.js"
},
Expand Down

0 comments on commit 415ec26

Please sign in to comment.