From 31c194503c839c5dfc60f5045b5b165bb6d2a528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 2 Mar 2020 23:24:10 +0100 Subject: [PATCH] Ignore node_modules on Dockerfile, Docker-compose down and up --- .dockerignore | 3 ++- .drone.yml | 3 ++- rollup.config.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index b76334d..a3a5726 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ .git *Dockerfile* -.env \ No newline at end of file +.env +node_modules \ No newline at end of file diff --git a/.drone.yml b/.drone.yml index 56483bb..20efc79 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,7 +60,8 @@ steps: from_secret: ssh_key script: - cd /data/sites/housesof.world/dev - - docker-compose up -d --force-recreate --remove-orphans + - docker-compose down + - docker-compose up -d --remove-orphans # diff --git a/rollup.config.js b/rollup.config.js index e8b6f18..985c540 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -47,7 +47,7 @@ export default { hydratable: true, emitCss: true, // ...(!dev && { - // css: css => css.write('static/bundle.css', dev), + css: css => css.write('static/bundle.css', dev), // }), // hot: hot && { // // sapper-dev-client expects either webpack or rollup with no HMR, so