|
|
@@ -39,8 +39,7 @@ COPY ./frontend/ /tmp/frontend
|
|
39
|
39
|
RUN cd /tmp/frontend && \
|
|
40
|
40
|
npm install && \
|
|
41
|
41
|
bower --allow-root install && \
|
|
42
|
|
- grunt --gruntfile Gruntfile_global.js && \
|
|
43
|
|
- grunt --gruntfile Gruntfile_app.js && \
|
|
|
42
|
+ for gruntfile in Gruntfile_*; do grunt --gruntfile "${gruntfile}"; done && \
|
|
44
|
43
|
rmdir /var/www/html && \
|
|
45
|
44
|
cp -r /tmp/frontend/build/release/ /var/www/html && \
|
|
46
|
45
|
rm -rf /tmp/frontend
|