Add Dockerfile
This commit is contained in:
@@ -88,11 +88,11 @@ async function createProductionRouter() {
|
||||
|
||||
const r = express.Router()
|
||||
|
||||
r.use('/', express.static('dist/client'))
|
||||
r.use('/', express.static('dist/entry-client'))
|
||||
|
||||
mountIndexHtmlRoutes(r, async (req, res) => {
|
||||
const transformedTemplate = await fs.readFile(
|
||||
path.resolve('./dist/client/index.html'),
|
||||
path.resolve('./dist/entry-client/index.html'),
|
||||
'utf-8'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user