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/
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Build package
|
||||
run: npm run build
|
||||
|
||||
@@ -17,7 +17,7 @@ COPY package*.json ./
|
||||
|
||||
# Install dependencies with development environment for building
|
||||
ENV NODE_ENV=development
|
||||
RUN npm ci --no-optional --unsafe-perm
|
||||
RUN npm install --no-optional
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user