new features, bookstack
This commit is contained in:
@@ -1 +1 @@
|
||||
registry=https://npm.apple.com/
|
||||
registry=https://registry.npmjs.org/
|
||||
@@ -6,13 +6,13 @@ FROM node:20-alpine AS builder
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files for dependency installation
|
||||
COPY package*.json .npmrc ./
|
||||
# Copy package files for dependency installation (no lock file so npm resolves fresh from registry)
|
||||
COPY package.json .npmrc ./
|
||||
|
||||
# Install dependencies (NODE_ENV must not be production so devDependencies are installed)
|
||||
ENV NODE_ENV=development
|
||||
ENV PATH="/app/node_modules/.bin:$PATH"
|
||||
RUN npm ci --registry https://npm.apple.com
|
||||
RUN npm install --include=dev
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user