mirror of
https://github.com/ptarmiganlabs/butler-sos.git
synced 2025-12-19 17:58:18 -05:00
fix(docker): Stabilize the Docker image build process
This commit is contained in:
@@ -28,7 +28,6 @@ img
|
||||
log
|
||||
scriptlog
|
||||
node_modules
|
||||
package-lock.json
|
||||
renovate.json
|
||||
release
|
||||
release-macos
|
||||
@@ -42,3 +41,10 @@ src/.snyk
|
||||
src/config
|
||||
src/docker-compose
|
||||
src/log
|
||||
|
||||
coverage
|
||||
build
|
||||
jest.config.mjs
|
||||
eslint.config.js
|
||||
CHANGELOG.md
|
||||
changelog_old.md
|
||||
|
||||
@@ -9,8 +9,8 @@ LABEL description="Real-time operational metrics for Qlik Sense Enterprise on Wi
|
||||
WORKDIR /nodeapp
|
||||
|
||||
# Install app dependencies separately (creating a separate layer for node_modules, effectively caching them between image rebuilds)
|
||||
COPY package.json .
|
||||
RUN npm i
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy app's source files
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user