Static-Assets im Image lesbar machen #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ops/static-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nginx liest static/ als eigener Nutzer aus dem Volume, COPY übernimmt aber die
Dateimodi des bauenden Rechners. static/lib/format.mjs liegt hier lokal als
0600 vor — Git speichert nur das x-Bit, ein frischer Clone hätte 0644 gehabt,
das Image bekommt jetzt aber die Umask des Entwicklungsrechners.
Ohne chmod lieferte nginx die Datei mit 403 aus; in der lokalen Deploy-Probe
reproduziert und nach dem Fix als 200 bestätigt.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com