File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,17 @@ ADD README.md $SOURCE_DIR/
45
45
# installed app artifacts.
46
46
# ###########################################################
47
47
48
- RUN apt-get update && \
48
+ RUN apt-get -y update && \
49
49
apt-get -y install git nodejs nodejs-legacy npm nginx gettext-base && \
50
50
cd $SOURCE_DIR && \
51
51
npm install -g yo && \
52
52
npm install && \
53
53
bower install --allow-root && \
54
54
grunt build --allow-root && \
55
55
cp -rf $SOURCE_DIR/dist/* $NGX_ROOT && \
56
- rm -rf /tmp/source && \
57
- apt-get purge -y --auto-remove git nodejs nodejs-legacy npm
56
+ rm -rf $SOURCE_DIR && \
57
+ apt-get -y --auto-remove purge git nodejs nodejs-legacy npm && \
58
+ apt-get -y clean
58
59
59
60
# Add nginx config files for HTTP and HTTPS
60
61
ADD nginx-site.conf /root/nginx-site.conf
You can’t perform that action at this time.
0 commit comments