Skip to content

Commit

Permalink
Move off distroless in order to support native libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven65 committed Sep 13, 2023
1 parent c4c10ad commit 2f431df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ ARG GITHUB_ACCESS_TOKEN
WORKDIR /work
COPY . ./
COPY deploy.npmrc .npmrc
RUN yarn install --production --ignore-optional
RUN yarn install --production --ignore-optional --platform=linux --arch=x64

FROM gcr.io/distroless/nodejs:18
#FROM gcr.io/distroless/nodejs18-debian11
FROM node:18-alpine
EXPOSE 3000
ENV NODE_ENV=production
ENV PORT=3000
Expand Down

0 comments on commit 2f431df

Please sign in to comment.