Skip to content

Commit 797dc28

Browse files
authored
Merge pull request #87 from simonsobs/dev
Update the base image to `node:22.14-alpine` in `Dockerfile`
2 parents 84b696a + b4bfb9a commit 797dc28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.15-alpine as build
1+
FROM node:22.14-alpine as build
22

33
# https://github.com/docker/getting-started/issues/124
44
RUN apk add --no-cache python3 g++ make
@@ -12,8 +12,8 @@ RUN apk --no-cache --virtual build-dependencies add \
1212
g++
1313

1414
# For "canvas": https://stackoverflow.com/a/66692565/7309855
15-
# canvas is onlye used in unit testing with monaco-editor.
16-
# It should be possible to write pacakge.json to avoid installing canvas in production.
15+
# canvas is only used in unit testing with monaco-editor.
16+
# It should be possible to write package.json to avoid installing canvas in production.
1717
# But, I don't know how to do it.
1818
RUN apk add --update --no-cache \
1919
jpeg-dev \

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@vuelidate/validators": "^2.0.4",
1919
"@vueuse/core": "^10.11.0",
2020
"@vueuse/integrations": "^10.11.0",
21-
"canvas": "^2.11.2",
21+
"canvas": "~3.1.0",
2222
"graphql": "^16.9.0",
2323
"graphql-ws": "^5.16.0",
2424
"monaco-editor": "^0.50.0",

0 commit comments

Comments
 (0)