From b9bbc2739fd82ee997d6f2934c379e8cdba99beb Mon Sep 17 00:00:00 2001 From: Steven Noack <147175134+MacStenk@users.noreply.github.com> Date: Thu, 11 Dec 2025 07:26:58 +0100 Subject: [PATCH] Refactor Dockerfile to simplify setup Removed OpenSSL and build tools installation, simplified dependency installation process. --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a383183..ff84ffc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -FROM node:18-alpine - -# Install OpenSSL and build tools for native modules -RUN apk add --no-cache openssl openssl-dev python3 make g++ +FROM node:18 # Install pnpm RUN npm install -g pnpm @@ -11,12 +8,9 @@ WORKDIR /app # Copy package files COPY package.json pnpm-lock.yaml ./ -# Install dependencies (rebuild native modules) +# Install dependencies RUN pnpm install --force -# Rebuild bcrypt for Alpine -RUN pnpm rebuild bcrypt - # Copy source COPY . .