We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c2d84 commit 45b72d5Copy full SHA for 45b72d5
docker-compose.yml
@@ -33,9 +33,15 @@ services:
33
command: /bin/sh -c "cargo watch -s 'cargo run --bin run_server'"
34
35
frontend-development:
36
- image: node:16
+ image: node:20
37
ports:
38
- "3000:3000"
39
+ environment:
40
+ # Node 17でOpenSSLがデフォルトでMD4ハッシュを提供しなくなり、
41
+ # これに依存していたwebpackに依存するreact-scripts 4.x系でのビルドができなくなってしまった。
42
+ # --openssl-legacy-providerをオプションとして渡すことで、Node 17以降でもビルドができる。
43
+ # react-scripts 4.x系から移行したら、このオプションは不要になる。
44
+ NODE_OPTIONS: --openssl-legacy-provider
45
volumes:
46
- ./:/app
47
- node_modules:/app/atcoder-problems-frontend/node_modules
0 commit comments