updated .\dockerfile[deploy]
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 1m1s

This commit is contained in:
Pascal Prießnitz
2025-12-03 02:08:24 +01:00
parent d28a62a2f8
commit a3c8e377c9
2 changed files with 9 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ version: "3.9"
services:
app:
build:
context: . # Repo-Root (da, wo Dockerfile & package.json liegen)
context: . # Repo-Root mit Dockerfile & package.json
dockerfile: Dockerfile
image: papo-app:latest
working_dir: /usr/src/app
@@ -15,8 +15,7 @@ services:
depends_on:
- db
restart: unless-stopped
# WICHTIG: Für Production KEINE Source-Mounts,
# sonst überschreibst du das Image wieder mit einem leeren Verzeichnis.
# WICHTIG: KEINE volumes hier!
# volumes:
# - .:/usr/src/app
# - /usr/src/app/node_modules