Browse Source

fix node version and use alpine for Docker

Outsider 6 years ago
parent
commit
2db394f980
3 changed files with 4 additions and 3 deletions
  1. 2 0
      .dockerignore
  2. 1 2
      Dockerfile
  3. 1 1
      package.json

+ 2 - 0
.dockerignore

@@ -0,0 +1,2 @@
+.git
+node_modules/

+ 1 - 2
Dockerfile

@@ -1,5 +1,4 @@
-FROM node:onbuild
-MAINTAINER Benjamin Jorand <benjamin.jorand@gmail.com>
+FROM node:8-alpine
 
 EXPOSE 3000
 

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "body-parser": "^1.18.0",
     "cookie-parser": "^1.4.0",
     "debug": "^3.1.0",
-    "dotenv": "^4.0.0",
+    "dotenv": "^5.0.1",
     "express": "^4.13.0",
     "i18n": "^0.8.3",
     "jade": "^1.11.0",