parent
f6e9d714d3
commit
2adf8a738e
|
@ -22,4 +22,4 @@ EXPOSE 4002
|
|||
# Setting run-command, using explicit `node` command
|
||||
# rather than `yarn` or `npm` to use less memory
|
||||
# https://github.com/nolanlawson/pinafore/issues/971
|
||||
CMD PORT=4002 node __sapper__/build
|
||||
CMD PORT=4002 node server.js
|
||||
|
|
|
@ -64,7 +64,7 @@ Then build:
|
|||
|
||||
Then run:
|
||||
|
||||
PORT=4002 node __sapper__/build
|
||||
PORT=4002 node server.js
|
||||
|
||||
### Docker
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"build": "cross-env NODE_ENV=production run-s build-steps",
|
||||
"build-steps": "run-s before-build sapper-build",
|
||||
"sapper-build": "sapper build",
|
||||
"start": "PORT=4002 node __sapper__/build",
|
||||
"start": "node server.js",
|
||||
"build-and-start": "run-s build start",
|
||||
"build-template-html": "node -r esm ./bin/build-template-html.js",
|
||||
"build-template-html-watch": "node -r esm ./bin/build-template-html.js --watch",
|
||||
|
|
Loading…
Reference in New Issue