Deploy speed inprovements

This commit is contained in:
Juan 2018-06-11 14:03:40 +02:00
parent 0c7b1084f8
commit a860873819
3 changed files with 1 additions and 4 deletions

View File

@ -195,8 +195,6 @@ gulp.task('build-clean', () => {
const del = require('del');
const files = [
`${buildDir}/*`,
`!${buildDir}/templates`,
`!${buildDir}/images`,
`docker-compose.yml`
];
return del(files, {force: true});

View File

@ -3,4 +3,3 @@ FROM vn-loopback:latest
COPY mailer /app
WORKDIR /app
CMD ["pm2-docker", "./server/server.js"]

View File

@ -6,7 +6,7 @@ RUN rm -f /etc/nginx/conf.d/default.conf
COPY temp/nginx.conf /etc/nginx/nginx.conf
COPY static /usr/share/nginx/html
RUN apt-get update && apt-get -y install vim dnsmasq dnsutils iputils-ping
RUN apt-get update && apt-get -y install dnsmasq
RUN rm -fr /usr/share/dns
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d/dnsmasq.conf