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 . .