From 4f0016e1502f2e33fba0a1f4c08412baa4b3b617 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Tue, 17 Jan 2017 22:53:57 +0100 Subject: [PATCH] Minimizing Dockerfile --- Dockerfile | 1 + docker-entrypoint.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 40dbac5..cdaaf71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM node:alpine COPY . /usr/src/app +WORKDIR /usr/src/app RUN npm install && \ npm cache clean EXPOSE 8080 diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 72cdacc..2203ae2 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -3,6 +3,5 @@ set -e cp -R /usr/src/app/public/* /usr/src/app/external-public/ -cd /usr/src/app exec "$@"