fix: move openssl from dependencies in Dockerfile to base image

This commit is contained in:
biersoeckli
2025-02-07 14:52:37 +00:00
parent 1290f18869
commit 8e11d4a8af

View File

@@ -1,12 +1,12 @@
FROM node:18-alpine AS base
ARG VERSION_ARG
RUN apk add --no-cache openssl
# Install dependencies only when needed
FROM base AS deps
# Install necessary packages
RUN apk add --no-cache libc6-compat openssl python3 make g++
# Install necessary packages for building
RUN apk add --no-cache libc6-compat python3 make g++
WORKDIR /app