Browse Source

fix: Correct invalid comment syntax in .dockerignore

Docker only recognizes `#` as a valid comment indicator in .dockerignore files. 
Using `//` causes the lines to be incorrectly parsed as glob patterns rather than comments. 
While this may not cause fatal errors if no matching files exist, it is syntactically invalid and could lead to unexpected behavior. Corrected the syntax to use `#`.
pull/7274/head
niniconi 2 weeks ago
committed by GitHub
parent
commit
c09ee802c0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      .dockerignore

4
.dockerignore

@ -1,7 +1,7 @@
// Ignore everything # Ignore everything
* *
// Allow what is needed # Allow what is needed
!.git !.git
!docker/healthcheck.sh !docker/healthcheck.sh
!docker/start.sh !docker/start.sh

Loading…
Cancel
Save