Set up docker and docker-compose for SSR

This commit is contained in:
Jan Tuomi
2018-08-19 14:19:22 +03:00
parent 05006c15e0
commit 5afeff03dd
6 changed files with 161 additions and 27 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ Minimal starter kit with hot module replacement (HMR) for rapid development.
`npm start`
* Build app continously (HMR enabled)
* App served @ `http://localhost:8080`
* App served @ `http://localhost:3000`
### Create new component
@@ -44,7 +44,7 @@ Minimal starter kit with hot module replacement (HMR) for rapid development.
Command | Description
--- | ---
`npm run start-dev` | Build app continously (HMR enabled) and serve @ `http://localhost:8080`
`npm run start-dev` | Build app continously (HMR enabled) and serve @ `http://localhost:3000`
`npm run start-prod` | Build app once (HMR disabled) and serve @ `http://localhost:3000`
`npm run build` | Build app to `/dist/`
`npm run test` | Run e2e and unit tests