Skip to content

Commit

Permalink
chore: dockerise
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Sep 22, 2023
1 parent 1ea58e8 commit 92ae54b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:alpine AS build

WORKDIR /usr/src/app

COPY . .

RUN yarn && \
yarn build

VOLUME [ "/usr/src/app/database" ]
ENTRYPOINT ["node","./dist/src/index.js"]

0 comments on commit 92ae54b

Please sign in to comment.