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
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy package files for dependency installation
|
# Copy package files for dependency installation (no lock file so npm resolves fresh from registry)
|
||||||
COPY package*.json .npmrc ./
|
COPY package.json .npmrc ./
|
||||||
|
|
||||||
# Install dependencies (NODE_ENV must not be production so devDependencies are installed)
|
# Install dependencies (NODE_ENV must not be production so devDependencies are installed)
|
||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
ENV PATH="/app/node_modules/.bin:$PATH"
|
ENV PATH="/app/node_modules/.bin:$PATH"
|
||||||
RUN npm ci --registry https://npm.apple.com
|
RUN npm install --include=dev
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user