Deploy speed inprovements
This commit is contained in:
parent
0c7b1084f8
commit
a860873819
|
@ -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});
|
||||
|
|
|
@ -3,4 +3,3 @@ FROM vn-loopback:latest
|
|||
COPY mailer /app
|
||||
WORKDIR /app
|
||||
CMD ["pm2-docker", "./server/server.js"]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue