Skip to content

Commit 39e1cb9

Browse files
Actually do ignore node_modules everywhere
.dockerignore matching rules differ from .gitignore, unfortunately. Drive-by: Typo
1 parent 6a8cd5f commit 39e1cb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.dockerignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
node_modules/
1+
**/node_modules/
22
docs/
33
Dockerfile
44
*.md
55
.git
66
.gitignore
77
.gitmodules
88
docker-compose.yml
9-
docker-compose-local.yml
9+
docker-compose-local.yml

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN cd /app/shared && npm install --production
2222
RUN cd /app/server && npm install --production
2323
RUN cd /app/zone-mta && npm install --production
2424

25-
# Later, copy the app files. That improves development speed as buiding the Docker image will not have
25+
# Later, copy the app files. That improves development speed as building the Docker image will not have
2626
# to download and install all the NPM dependencies every time there's a change in the source code
2727
COPY . /app
2828

0 commit comments

Comments
 (0)