Skip to content

Commit

Permalink
Upgrade Alpine Linux to 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
notake committed Oct 25, 2024
1 parent 88764ed commit a303348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM clojure:openjdk-11-lein-buster AS builder
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - && \
RUN curl -sL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs
WORKDIR /build/
COPY project.clj /build/
COPY src /build/src/
RUN lein cljsbuild once

FROM node:19.3.0-alpine3.17
FROM node:22.10.0-alpine3.19

RUN apk update && \
apk upgrade && \
Expand All @@ -30,10 +30,10 @@ RUN apk update && \
apk del --purge curl p7zip && \
rm -rf /var/cache/apk/*

ENV PUPPETEER_SKIP_DOWNLOAD true
ENV PUPPETEER_SKIP_DOWNLOAD=true

WORKDIR /app
RUN npm install puppeteer@19.4.1 express@4.18.2 && \
RUN npm install puppeteer@23.6.0 express@4.21.1 && \
mkdir /app/print

RUN addgroup -S pptruser && \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ PDF screenshot generator for web pages
## Run pdfshot

```shell
$ docker pull xcoo/pdfshot:0.1.7
$ docker pull xcoo/pdfshot:0.1.8
$ docker run --rm \
--cap-add=SYS_ADMIN \
-e "PDFSHOT_PORT=8000" \
-e "PDFSHOT_TIMEOUT=60000" \
-p 8000:8000 \
xcoo/pdfshot:0.1.7
xcoo/pdfshot:0.1.8
```

## Usage
Expand Down

0 comments on commit a303348

Please sign in to comment.