Fix: Replace npm ci with npm install to address missing package-lock.json issue
This commit is contained in:
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@@ -83,7 +83,7 @@ jobs:
|
|||||||
npm config set registry https://registry.npmjs.org/
|
npm config set registry https://registry.npmjs.org/
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm install
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ COPY package*.json ./
|
|||||||
|
|
||||||
# Install dependencies with development environment for building
|
# Install dependencies with development environment for building
|
||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
RUN npm ci --no-optional --unsafe-perm
|
RUN npm install --no-optional
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user