Skip to content

Commit

Permalink
Merge pull request #706 from jayrepo/patch-1
Browse files Browse the repository at this point in the history
link ssl3 for latest alpine
  • Loading branch information
enricoros authored Dec 24, 2024
2 parents a58f703 + 18dbf91 commit 0407d22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM node:22-alpine AS base
ENV NEXT_TELEMETRY_DISABLED 1

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/


# Dependencies
FROM base AS deps
WORKDIR /app
Expand All @@ -11,6 +10,9 @@ WORKDIR /app
COPY package*.json ./
COPY src/server/prisma ./src/server/prisma

# link ssl3 for latest Alpine
RUN sh -c '[ ! -e /lib/libssl.so.3 ] && ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 || echo "Link already exists"'

# Install dependencies, including dev (release builds should use npm ci)
ENV NODE_ENV development

Check warning on line 17 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
RUN npm ci
Expand Down

0 comments on commit 0407d22

Please sign in to comment.