use .dockerignore file

This commit is contained in:
Robert Dyer
2024-08-12 11:19:00 -05:00
parent 18c6bbc3a8
commit 6f8f81af3c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
node_modules/
+1 -1
View File
@@ -11,7 +11,7 @@ WORKDIR /usr/src/app
RUN mkdir -p ./cache RUN mkdir -p ./cache
# Copy the current directory contents into the container at /usr/src/app # 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 # Install any needed packages specified in package.json
RUN npm install && npm update RUN npm install && npm update