File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ COPY ./package.json ./package-lock.json /app/
44RUN npm install
55COPY . /app
66RUN npm run build:universal
7- RUN npm run generate:prerender
7+ # RUN npm run generate:prerender
88RUN npm run test:ssr
99
1010FROM node:8-alpine
1111
1212WORKDIR /app
1313# Copy dependency definitions
1414COPY --from=buildContainer /app/package.json /app
15- COPY --from=buildContainer /app/server.js /app
15+ # COPY --from=buildContainer /app/server.js /app
1616
1717# Get all the code needed to run the app
1818COPY --from=buildContainer /app/dist /app/dist
19- COPY --from=buildContainer /app/static /app/static
19+ # COPY --from=buildContainer /app/static /app/static
2020COPY --from=buildContainer /app/dist-server /app/dist-server
2121
2222# Expose the port the app runs in
Original file line number Diff line number Diff line change 1212 "build:server" : " ng run universal-demo:server:production" ,
1313 "build:prod" : " ng build --prod" ,
1414 "build:universal" : " ng run universal-demo:build:production && ng run universal-demo:server:production" ,
15- "server" : " node server.js" ,
15+ "server" : " node dist- server/main .js" ,
1616 "test" : " ng test" ,
1717 "test:ci" : " cross-env CI=true ng test" ,
1818 "test:ssr" : " run-p test:ssr:*" ,
You can’t perform that action at this time.
0 commit comments