An error occurred while building a project using the docker

Use docker to create a common voice, use Firefox to open http://localhost:9000, there is an error message

hi @s321790, have you tried following this:

How to change the website to “https”, I already have a SSL certificate

For local development? Or are you deploying on a server? For local, you might try this:

Which file of common voice needs to be modified? Change the common voice WEB server to HTTPS.

var path = require('path')
var fs = require('fs')
var express = require('express')
var https = require('https')

var certOptions = {
  key: fs.readFileSync(path.resolve('build/cert/server.key')),
  cert: fs.readFileSync(path.resolve('build/cert/server.crt'))
}

var app = express()

var server = https.createServer(certOptions, app).listen(443)

I haven’t looked into doing this myself, and unfortunately our engineer will be out until November so we won’t be able to give you full support at the moment. But here is the code you will have to modify: