summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 1289cc4..61e4a6f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,10 @@
-FROM node:7.7-alpine
+FROM node:alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
-COPY . /usr/src/app
-RUN npm install && npm cache clean
+COPY package.json .
+RUN npm install && npm cache clean --force
+COPY . .
CMD ["node", "server.js"]