gatsby-gitbook-starter icon indicating copy to clipboard operation
gatsby-gitbook-starter copied to clipboard

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

Open heesuk-ahn opened this issue 3 years ago • 0 comments

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

heesuk-ahn avatar Jan 27 '22 08:01 heesuk-ahn