update Webpack to 2.2
This commit is contained in:
parent
c5441923f7
commit
75d203c478
4 changed files with 15 additions and 17 deletions
|
@ -77,7 +77,7 @@ RUN chmod +x /usr/local/bin/jwtproxy
|
|||
RUN curl -L -o /usr/local/bin/prometheus-aggregator https://github.com/coreos/prometheus-aggregator/releases/download/v0.0.1-alpha/prometheus-aggregator
|
||||
RUN chmod +x /usr/local/bin/prometheus-aggregator
|
||||
|
||||
# Install Webpack, Typescript, React
|
||||
# Install Webpack, Typescript
|
||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
ADD package.json package.json
|
||||
ADD tsconfig.json tsconfig.json
|
||||
|
@ -88,11 +88,9 @@ RUN npm link typescript
|
|||
|
||||
# Add static files
|
||||
ADD static static
|
||||
ADD static/js/directives/components static/dist/components
|
||||
|
||||
# Run Webpack
|
||||
RUN npm install -g webpack
|
||||
RUN webpack
|
||||
RUN node_modules/.bin/webpack --progress
|
||||
|
||||
# Run front-end tests
|
||||
ARG RUN_TESTS=true
|
||||
|
|
Reference in a new issue