chore: use alpine runner container
Use nodejs alpine as the container image to run the app in. Also adds a shell into the container. Fixes the problem with prisma not starting in the container because it was compiled for a different version of openssl 3.3.x
This commit is contained in:
parent
6bd4abb1ef
commit
2f320e924e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
# ----- Runner -----
|
# ----- Runner -----
|
||||||
FROM gcr.io/distroless/nodejs22-debian12:nonroot@sha256:595dcd85af33b16450868993ec48992c82d90a692fb0d5c6f435bca16edb85d6 AS runner
|
FROM base AS runner
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue