From 7a3bfd32fbb9d54361678f03d7c383be58c50d9c Mon Sep 17 00:00:00 2001 From: Adrien Agez Date: Wed, 27 May 2020 16:43:29 +0200 Subject: [PATCH] update env dependencies and Docker build --- Dockerfile.production | 1 + config/index.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile.production b/Dockerfile.production index da8a8dc..54c83db 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -1,4 +1,5 @@ FROM node:erbium-alpine as build-stage +RUN apk add python2 WORKDIR /app COPY package.json . RUN yarn diff --git a/config/index.js b/config/index.js index 0f4a4ec..1b89489 100644 --- a/config/index.js +++ b/config/index.js @@ -26,7 +26,7 @@ module.exports = { dev: { env: require('./dev.env'), port: 8080, - autoOpenBrowser: true, + autoOpenBrowser: false, assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: {}, diff --git a/package.json b/package.json index 1c80d9b..6492f01 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "friendly-errors-webpack-plugin": "^1.6.1", "html-webpack-plugin": "^2.30.1", "http-proxy-middleware": "^0.17.4", - "node-sass": "^4.13.1", - "opn": "^5.1.0", + "node-sass": "4.13.0", + "opn": "^5.5.0", "optimize-css-assets-webpack-plugin": "^3.2.0", "ora": "^1.3.0", "rimraf": "^2.6.2",