From dc1e7091f3c5a20f741aede85a512fb81079a739 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Sun, 15 Jan 2017 01:05:35 +0100 Subject: [PATCH] Ok, one more --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8678fb2..c2388af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /usr/src/app COPY . /usr/src/app RUN npm install EXPOSE 8080 -COPY docker-entrypoint.sh / +RUN chmod +x /usr/src/app/docker-entrypoint.sh +COPY /usr/src/app/docker-entrypoint.sh / ENTRYPOINT ["/docker-entrypoint.sh"] CMD [ "npm", "start"] \ No newline at end of file