Skip to content

Commit 6fc888a

Browse files
committed
Update Dockerfile
1 parent 0402bdf commit 6fc888a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.17.1
1+
FROM alpine
22

33
RUN apk add --no-cache \
44
chromium \
@@ -10,12 +10,11 @@ RUN apk add --no-cache \
1010
nodejs \
1111
npm
1212

13-
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
1413
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
1514
ENV HTML2PDF_NO_SANDBOX=true
1615

1716
WORKDIR /app
18-
COPY ["package.json", "package-lock.json", "./"]
19-
RUN npm install --production
17+
COPY ["package.json", "./"]
18+
RUN npm install
2019
COPY . .
2120
CMD ["npm", "start"]

0 commit comments

Comments
 (0)