summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-25 11:15:01 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-25 15:29:13 +0100
commitc2d2c2ee919c2af729a3b7e98a02fc580ec6e99a (patch)
tree6f2cd24545703a448e6b6902754e7194cd92612a
parentcbff2969c37478ddf80a2349a5d8396df9ec17e1 (diff)
fix(conf): prodution dependencies
-rw-r--r--Dockerfile1
-rw-r--r--package.json4
2 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 827cde4..feb5d1e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,7 @@ COPY package*.json ./
# environment variables
ARG VUE_APP_BACKEND_URL
+
RUN npm install --production
COPY . .
RUN npm run build --production
diff --git a/package.json b/package.json
index 6045822..eb89f1b 100644
--- a/package.json
+++ b/package.json
@@ -15,9 +15,7 @@
"vue": "^2.6.11",
"vue-moment": "^4.1.0",
"vue-router": "^3.2.0",
- "vuex": "^3.4.0"
- },
- "devDependencies": {
+ "vuex": "^3.4.0",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",