From 40c677ad053525f617d529b0b649b6b47d2046a2 Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 25 Feb 2019 13:30:56 +0000 Subject: [PATCH] update --- .gitignore | 1 + app/Dockerfile | 5 +++-- app/package.json | 2 +- docker-compose.yml | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 29669c1..4eacd45 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,4 @@ dist # IDE .idea +Session.vim diff --git a/app/Dockerfile b/app/Dockerfile index 01b2ad9..e61e99d 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -7,6 +7,7 @@ WORKDIR ${APP_ROOT} ADD . ${APP_ROOT} RUN npm install -RUN npm run build +RUN npm rebuild node-sass +# RUN npm run build -# ENV HOST 0.0.0.0 +ENV HOST 0.0.0.0 diff --git a/app/package.json b/app/package.json index 03f33c8..ecd04e2 100644 --- a/app/package.json +++ b/app/package.json @@ -20,6 +20,7 @@ "nodemailer": "^5.1.1", "nuxt": "^2.0.0", "nuxt-buefy": "^0.2.1", + "sass-loader": "^7.1.0", "nuxt-sass-resources-loader": "^2.0.5", "validator": "^10.11.0", "vuelidate": "^0.7.4", @@ -32,7 +33,6 @@ "eslint-plugin-vue": "^4.0.0", "node-sass": "^4.11.0", "nodemon": "^1.11.0", - "sass-loader": "^7.1.0", "vue-svg-loader": "^0.11.0" } } diff --git a/docker-compose.yml b/docker-compose.yml index d6aaa09..55730d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,6 @@ services: container_name: marcleopold-website restart: always ports: - - "3003:3000" + - 0.0.0.0:3003:3003 command: - "npm run start" + "npm run dev"