Skip to content

Commit

Permalink
fix(package-lock): Do not delete package lock. Use 'npm ci' to instal…
Browse files Browse the repository at this point in the history
…l dependencies
  • Loading branch information
andris9 committed Sep 21, 2023
1 parent 8765ff3 commit 752be23
Show file tree
Hide file tree
Showing 5 changed files with 1,304 additions and 638 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk add --no-cache dumb-init
WORKDIR /emailengine
COPY . .

RUN npm install --omit=dev
RUN npm ci --omit=dev
RUN npm run prepare-docker
RUN chmod +x ./update-info.sh
RUN ./update-info.sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-legacy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk add --no-cache dumb-init
WORKDIR /emailengine
COPY . .

RUN npm install --omit=dev
RUN npm ci --omit=dev
RUN npm run prepare-docker
RUN chmod +x ./update-info.sh
RUN ./update-info.sh
Expand Down
Loading

0 comments on commit 752be23

Please sign in to comment.