Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15-alpine as build
FROM node:22.14-alpine as build

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

# For "canvas": https://stackoverflow.com/a/66692565/7309855
# canvas is onlye used in unit testing with monaco-editor.
# It should be possible to write pacakge.json to avoid installing canvas in production.
# canvas is only used in unit testing with monaco-editor.
# It should be possible to write package.json to avoid installing canvas in production.
# But, I don't know how to do it.
RUN apk add --update --no-cache \
jpeg-dev \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@vuelidate/validators": "^2.0.4",
"@vueuse/core": "^10.11.0",
"@vueuse/integrations": "^10.11.0",
"canvas": "^2.11.2",
"canvas": "~3.1.0",
"graphql": "^16.9.0",
"graphql-ws": "^5.16.0",
"monaco-editor": "^0.50.0",
Expand Down