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