Skip to content

Commit

Permalink
Merge pull request #37 from Quest-Finder/insert-workflows
Browse files Browse the repository at this point in the history
build: dockerfile
  • Loading branch information
NaBuchholz committed Dec 1, 2023
2 parents 35e8065 + f39d7de commit a42047c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:18.10.0-slim

USER node

RUN mkdir -p /home/node/app

WORKDIR /home/node/app

COPY --chown=node:node . .

RUN yarn install

RUN yarn build

ENV NODE_ENV=production

EXPOSE 3000

CMD ["yarn", "start"]

0 comments on commit a42047c

Please sign in to comment.