This commit is contained in:
2026-02-12 21:20:00 +08:00
parent 08d8e573cd
commit eaf9586a28

View File

@@ -4,6 +4,9 @@ FROM node:22-alpine
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
# Install build dependencies for native modules
RUN apk add --no-cache autoconf automake libtool make g++ zlib-dev nasm python3
# Install dependencies # Install dependencies
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
RUN npm install --registry=https://registry.npmmirror.com RUN npm install --registry=https://registry.npmmirror.com