Fix bugs with Webpack in Dockerfile
This commit is contained in:
parent
f306177f01
commit
8eb97465b0
3 changed files with 12 additions and 11 deletions
|
@ -71,12 +71,14 @@ RUN chmod +x /usr/local/bin/prometheus-aggregator
|
|||
# Install Webpack, Typescript, React
|
||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
ADD package.json package.json
|
||||
ADD tsconfig.json tsconfig.json
|
||||
ADD webpack.config.js webpack.config.js
|
||||
ADD typings.json typings.json
|
||||
RUN npm install
|
||||
RUN npm link typescript
|
||||
|
||||
# Add static files
|
||||
ADD static static
|
||||
ADD static/js/directives/components static/dist/components
|
||||
|
||||
# Run Webpack
|
||||
|
|
Reference in a new issue