mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
Without a .dockerignore, COPY . . baked the .env file (including the webhook secret) into the image and overwrote the container's node_modules with the host's. Pass public build-time values as build args and provide the rest at runtime through env_file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
199 B
Plaintext
14 lines
199 B
Plaintext
# Installed and built inside the image
|
|
node_modules
|
|
.next
|
|
|
|
# Secrets are passed in by docker compose, never baked into the image
|
|
.env*
|
|
|
|
.git
|
|
.github
|
|
Dockerfile
|
|
docker-compose.yml
|
|
*.md
|
|
npm-debug.log*
|