diff --git a/.dockerignore b/.dockerignore
index b031331fe0b9705c699fc22dd044f867c1fb1505..ddb7f99d70536c16b66495269d31e4427a2b0fff 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,2 +1,2 @@
-src/
-ldap_connexion_config.json
\ No newline at end of file
+node_modules/
+src/
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index 6efd65c661ade15fd90973b4884f3a12f0368a0d..070a8e83b5c93d5cf22eb2f171262207df43762f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,18 @@
-FROM node:10.9-alpine
+FROM mhart/alpine-node:10.9
 
-CMD [ "node", "build/bundle.js" ]
+# Create app directory
+WORKDIR /app
+
+# Install app dependencies
+COPY package*.json ./
+
+# Native dependencies
+RUN apk add --no-cache make gcc g++ python
+
+RUN npm install --only=production
+
+# Bundle app source
+COPY . .
+
+EXPOSE 3000
+CMD [ "node", "build/bundle.js" ]
\ No newline at end of file