hasura / gatsby-gitbook-starter

Generate GitBook style modern docs/tutorial websites using Gatsby + MDX
https://hasura.io/learn/graphql/react/introduction/
MIT License
980 stars 383 forks source link

issue) broken docker file `routines::unsupported` error #158

Open heesuk-ahn opened 2 years ago

heesuk-ahn commented 2 years ago

The following error occurred when building docker.

#12 7.451   Error: error:0308010C:digital envelope routines::unsupported

This is a node 17 problem.

The current docker file uses the latest node base image, so version 17 was used.

In order to use the latest version of node while using the latest version, you need to add the following environment variables to the dockerfile.

ENV NODE_OPTIONS=--openssl-legacy-provider