Add only subdirectory of static
This commit is contained in:
parent
77bdcf893d
commit
6cf53848dd
1 changed files with 1 additions and 2 deletions
|
@ -77,7 +77,7 @@ RUN npm install
|
|||
RUN npm link typescript
|
||||
|
||||
# Add static files
|
||||
ADD static static
|
||||
ADD static/js/directives static/dist
|
||||
|
||||
# Run Webpack
|
||||
RUN npm run build
|
||||
|
@ -91,7 +91,6 @@ RUN cd grunt && npm install
|
|||
|
||||
# Run grunt
|
||||
RUN cd grunt && grunt
|
||||
ADD static/js/directives static/dist
|
||||
|
||||
RUN apt-get remove -y --auto-remove python-dev g++ libjpeg62-dev libevent-dev libldap2-dev libsasl2-dev libpq-dev libffi-dev libgpgme11-dev nodejs npm
|
||||
RUN apt-get autoremove -y
|
||||
|
|
Reference in a new issue