Browse Source

update env dependencies and Docker build

master
Adrien 4 years ago
parent
commit
7a3bfd32fb
3 changed files with 4 additions and 3 deletions
  1. +1
    -0
      Dockerfile.production
  2. +1
    -1
      config/index.js
  3. +2
    -2
      package.json

+ 1
- 0
Dockerfile.production View File

@@ -1,4 +1,5 @@
FROM node:erbium-alpine as build-stage FROM node:erbium-alpine as build-stage
RUN apk add python2
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .
RUN yarn RUN yarn


+ 1
- 1
config/index.js View File

@@ -26,7 +26,7 @@ module.exports = {
dev: { dev: {
env: require('./dev.env'), env: require('./dev.env'),
port: 8080, port: 8080,
autoOpenBrowser: true,
autoOpenBrowser: false,
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: {}, proxyTable: {},


+ 2
- 2
package.json View File

@@ -44,8 +44,8 @@
"friendly-errors-webpack-plugin": "^1.6.1", "friendly-errors-webpack-plugin": "^1.6.1",
"html-webpack-plugin": "^2.30.1", "html-webpack-plugin": "^2.30.1",
"http-proxy-middleware": "^0.17.4", "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", "optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.3.0", "ora": "^1.3.0",
"rimraf": "^2.6.2", "rimraf": "^2.6.2",


Loading…
Cancel
Save