Add bcrypt rebuild step in Dockerfile

Rebuild bcrypt for Alpine compatibility.
This commit is contained in:
Steven Noack 2025-12-11 07:25:19 +01:00 committed by GitHub
parent 69dfdc8b95
commit 42f40889f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,9 @@ COPY package.json pnpm-lock.yaml ./
# Install dependencies (rebuild native modules)
RUN pnpm install --force
# Rebuild bcrypt for Alpine
RUN pnpm rebuild bcrypt
# Copy source
COPY . .