DEV Community

Discussion on: Dockerize Angular app and deploy on OpenShift

Collapse
 
vitorstick profile image
Vitor Ferreira

Hello moumitabala, it's a angular with server side rendering using universal.

On my package.json I have something like this:

    "scripts": {
               .....
        "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
        "dev:ssr": "ng run vitorspace:serve-ssr",
        "serve:ssr": "node dist/vitorspace/server/main.js",
        "build:ssr": "ng build --prod vitorspace && ng run vitorspace:server:production",
        "prerender": "ng run vitorspace:prerender"
    },
....

I hope this can help you