Skip to content

Commit

Permalink
fix: upgrade api docker image (#247)
Browse files Browse the repository at this point in the history
* fix: upgrade api docker image

* fix
  • Loading branch information
Julien Bouquillon authored Dec 1, 2023
1 parent 4199a85 commit e880588
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:18-bullseye@sha256:f27e3f4c8b5719cb9816084475d687a283c59149f3d11a7aa45b675fea56bed0
FROM node:lts-bullseye-slim@sha256:f959c0047e2cc2dc01459067d9e898b7780862e52f4e7e80bb674f6040298f32

ARG PRODUCTION

RUN mkdir /app && chown 1000:1000 /app
USER 1000

WORKDIR /app

COPY yarn.lock .yarnrc.yml ./
Expand All @@ -18,4 +18,6 @@ ENV NODE_ENV=production

RUN npx prisma generate

USER 1000

ENTRYPOINT ["yarn", "start"]

0 comments on commit e880588

Please sign in to comment.