build: fix error in Dockerfile (#1080)

This commit is contained in:
Lars Erik Storbukås 2017-08-01 13:28:24 +02:00 committed by Lex Zhukov
parent 9945954f8e
commit c290b7dcf8
2 changed files with 3 additions and 2 deletions

View file

@ -6,9 +6,9 @@ RUN git clone https://github.com/akveo/ng2-admin.git /var/www \
&& npm run clean \
&& npm install --global webpack webpack-dev-server typescript@2.1.5 \
&& npm install \
&& npm run prebuild:prod && npm run build:prod
&& npm run build:prod:aot
EXPOSE 8080
WORKDIR /var/www
ENTRYPOINT ["npm", "run", "server:prod"]
ENTRYPOINT ["npm", "run", "start:prod"]