Skip to content

Commit

Permalink
Merge pull request #384 from UserOfficeProject/dependabot-npm_and_yar…
Browse files Browse the repository at this point in the history
…n-puppeteer-22.0.0

chore(deps): bump puppeteer from 21.4.0 to 22.0.0
  • Loading branch information
martin-trajanovski authored Feb 13, 2024
2 parents 43bb82e + 96f6d15 commit a694b30
Show file tree
Hide file tree
Showing 7 changed files with 213 additions and 391 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged --shell
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"**/*.{js,ts}": ["npm run lint"]
}
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.0-alpine3.18 AS build-stage
FROM node:18.19.0-alpine3.19 AS build-stage

RUN apk add --no-cache \
python3 \
Expand Down Expand Up @@ -26,7 +26,7 @@ COPY --chown=node:node . .

RUN npm run build

FROM alpine:3.18
FROM alpine:3.19

RUN apk add --no-cache \
chromium \
Expand Down Expand Up @@ -67,6 +67,9 @@ COPY --from=build-stage --chown=pptruser:pptruser /home/node/app/build ./build
COPY --from=build-stage --chown=pptruser:pptruser /home/node/app/package*.json ./
COPY --chown=pptruser:pptruser ./templates ./templates

# Disable husky prepare script in production (https://github.com/typicode/husky/issues/920)
RUN npm pkg delete scripts.prepare

RUN npm ci --only=production --loglevel error --no-fund

ARG BUILD_VERSION=<unknown>
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18
FROM alpine:3.19

# Installs Chromium package.
RUN apk add --no-cache \
Expand Down
Loading

0 comments on commit a694b30

Please sign in to comment.