瀏覽代碼

update env dependencies and Docker build

master
Adrien 4 年之前
父節點
當前提交
7a3bfd32fb
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. +1
    -0
      Dockerfile.production
  2. +1
    -1
      config/index.js
  3. +2
    -2
      package.json

+ 1
- 0
Dockerfile.production 查看文件

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


+ 1
- 1
config/index.js 查看文件

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


+ 2
- 2
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",


Loading…
取消
儲存