Skip to content

Commit

Permalink
Update DockerfileAlpine
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaieboy authored Oct 1, 2023
1 parent c4a83f2 commit 12bdcad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtimes/8.2/DockerfileAlpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NODE_VERSION
ARG POSTGRES_VERSION=15
ARG POSTGRES_VERSION=16

FROM node:${NODE_VERSION}-alpine AS node

Expand All @@ -24,7 +24,9 @@ COPY --from=node /usr/local/bin /usr/local/bin

RUN npm install -g npm \
&& npm install -g pnpm svgo \
&& apk add --update supervisor postgresql${POSTGRES_VERSION}-client jpegoptim optipng pngquant gifsicle libpng-dev && rm -rf /tmp/* /var/cache/apk/*
&& apk add --update supervisor jpegoptim optipng pngquant gifsicle libpng-dev && rm -rf /tmp/* /var/cache/apk/*
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
postgresql${POSTGRES_VERSION}-client

RUN adduser -D sail

Expand Down

0 comments on commit 12bdcad

Please sign in to comment.