Skip to content

Commit

Permalink
Avoid copying web/core in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Nov 25, 2024
1 parent 6a941da commit 8875395
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ COPY composer.json composer.lock ./
RUN composer install --no-dev

# Copy customised elements into site
COPY web/core ./web/core
COPY web/libraries ./web/libraries
COPY web/modules/custom/nws_misc ./web/modules/custom/nws_misc
COPY web/sites/maps ./web/sites/maps
Expand Down
10 changes: 10 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/.csslintrc
/.eslintignore
/.eslintrc.json
/.ht.router.php
/.htaccess
/INSTALL.txt
/autoload.php
/index.php
/robots.txt
/update.php
1 change: 1 addition & 0 deletions web/modules/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/README.txt
1 change: 1 addition & 0 deletions web/profiles/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/README.txt
3 changes: 3 additions & 0 deletions web/sites/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/README.txt
/example.settings.local.php
/example.sites.php

0 comments on commit 8875395

Please sign in to comment.