Bumped docker images
This commit is contained in:
parent
fcbcec85c5
commit
05e0c63931
26
Dockerfile
26
Dockerfile
@ -1,5 +1,5 @@
|
|||||||
# Typescript Build
|
# Typescript Build
|
||||||
FROM registry.odit.services/hub/library/node:14.15.1-alpine3.12
|
FROM registry.odit.services/hub/library/node:19.0.1-alpine3.16
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN npm i -g pnpm
|
RUN npm i -g pnpm
|
||||||
@ -8,20 +8,20 @@ COPY tsconfig.json ./
|
|||||||
COPY src ./src
|
COPY src ./src
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
# final image
|
# final image
|
||||||
FROM registry.odit.services/hub/library/alpine:3.13.1
|
FROM registry.odit.services/hub/library/alpine:3.16
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
chromium \
|
chromium \
|
||||||
nss \
|
nss \
|
||||||
freetype \
|
freetype \
|
||||||
freetype-dev \
|
freetype-dev \
|
||||||
harfbuzz \
|
harfbuzz \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
ttf-freefont \
|
ttf-freefont \
|
||||||
nodejs \
|
nodejs \
|
||||||
yarn \
|
yarn \
|
||||||
font-noto-emoji \
|
font-noto-emoji \
|
||||||
&& apk add wqy-zenhei --update-cache --repository https://nl.alpinelinux.org/alpine/edge/testing
|
&& apk add wqy-zenhei --update-cache --repository https://nl.alpinelinux.org/alpine/edge/testing
|
||||||
|
|
||||||
# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
|
# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user