Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Jun 5, 2024
1 parent 7fcb47e commit 3c1ff08
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:18-alpine
WORKDIR /api
COPY . .
RUN yarn install --production
RUN npx prisma generate
RUN yarn build
EXPOSE 8080
CMD ["yarn","run"]

0 comments on commit 3c1ff08

Please sign in to comment.