mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
build: fix error in Dockerfile (#1080)
This commit is contained in:
parent
9945954f8e
commit
c290b7dcf8
2 changed files with 3 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
"lint:ci": "npm run lint && npm run lint:styles",
|
||||
"pree2e": "webdriver-manager update --standalone false --gecko false",
|
||||
"e2e": "ng e2e",
|
||||
"clean": "npm cache clean && npm run rimraf -- node_modules doc typings coverage dist",
|
||||
"clean:dist": "npm run rimraf -- dist",
|
||||
"clean:coverage": "npm run rimraf -- coverage",
|
||||
"docs:deploy": "wintersmith build -C docs && gh-pages -d docs/build",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue