diff --git a/Dockerfile b/Dockerfile index c42215f..78ffa20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,10 @@ WORKDIR /usr/src/app RUN mkdir -p ./cache # Copy the current directory contents into the container at /usr/src/app -COPY . . +COPY .env *.js *.credentials package.json README.md LICENSE . # Install any needed packages specified in package.json -RUN npm install -RUN npm update +RUN npm install && npm update # Define environment variable ENV NODE_ENV=production