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 4 months ago
committed by Mathijs van Veluw
parent
commit
01d73cd77d
  1. 4
      .dockerignore

4
.dockerignore

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

Loading…
Cancel
Save