diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules/ diff --git a/Dockerfile b/Dockerfile index 5bb625f..09b7574 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /usr/src/app RUN mkdir -p ./cache # Copy the current directory contents into the container at /usr/src/app -COPY .env *.js *.credentials package.json README.md LICENSE . +COPY . . # Install any needed packages specified in package.json RUN npm install && npm update