Skip to content

Commit

Permalink
chore: set up docker configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Williancc1557 committed Aug 17, 2023
1 parent 7fc2006 commit 4c76e19
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:alpine

WORKDIR /usr/app

COPY package.json ./
COPY yarn.lock ./

RUN yarn install

COPY . .

RUN yarn build


EXPOSE 8080

CMD ["yarn", "start"]

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"tsx": "^3.12.7",
"typescript": "^4.7.4"
"typescript": "5.1.6"
},
"dependencies": {
"bcrypt": "^5.0.1",
Expand Down

1 comment on commit 4c76e19

@vercel
Copy link

@vercel vercel bot commented on 4c76e19 Aug 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.