Skip to content

Commit

Permalink
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:hydrogen-alpine3.18
FROM node:hydrogen-alpine3.19
LABEL maintainer=FormSG<[email protected]>

WORKDIR /opt/formsg
@@ -28,8 +28,8 @@ RUN apk update && apk upgrade && \
# that is guaranteed to work. Upgrades must be done in lockstep.
# https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-on-alpine
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
chromium=119.0.6045.159-r0 \
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.19&repo=&arch=&maintainer=
chromium=121.0.6167.85-r0 \
nss \
freetype \
freetype-dev \
8 changes: 4 additions & 4 deletions Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM node:hydrogen-alpine3.18 as build
FROM node:hydrogen-alpine3.19 as build

# node-modules-builder stage installs/compiles the node_modules folder
# Python version must be specified starting in alpine3.12
@@ -60,7 +60,7 @@ RUN --mount=type=secret,id=dd_api_key \
RUN npm prune --production --legacy-peer-deps

# This stage builds the final container
FROM node:hydrogen-alpine3.18
FROM node:hydrogen-alpine3.19
LABEL maintainer=FormSG<[email protected]>
WORKDIR /opt/formsg

@@ -81,8 +81,8 @@ RUN mv /opt/formsg/dist/backend/shared /opt/formsg/
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions

RUN apk add --no-cache \
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
chromium=119.0.6045.159-r0 \
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.19&repo=&arch=&maintainer=
chromium=121.0.6167.85-r0 \
nss \
freetype \
freetype-dev \

0 comments on commit c8830f4

Please sign in to comment.