Use npm install in Docker build for better-sqlite3 compatibility
This commit is contained in:
1 parent
06e2962fc5
commit
ae2a6a3b9e
1 file changed
+2
-2
+2
-2
@@ -6,8 +6,8 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
# Install dependencies (use npm install instead of ci for better compatibility)
|
||||
RUN npm install --production=false
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in new issue
Block a user