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 "$@"