chore(docker): .dockerignore контекстов сборки и настраиваемый порт фронтенда

This commit is contained in:
Иван Овчинников
2026-11-20 01:15:56 +03:00
parent 9979859b76
commit 7c42744d10
4 changed files with 18 additions and 1 deletions
+2
View File
@@ -3,3 +3,5 @@ __pycache__/
*.db *.db
.venv/ .venv/
data/
node_modules/
+10
View File
@@ -0,0 +1,10 @@
__pycache__/
*.pyc
*.db
*.sqlite*
.env
.env.*
venv/
.venv/
data/
.dockerignore
+2 -1
View File
@@ -24,7 +24,8 @@ services:
build: ./frontend build: ./frontend
container_name: gym-bro-frontend container_name: gym-bro-frontend
ports: ports:
- "80:80" # 80 занят другим nginx на сервере — поднимите на другом порту: APP_PORT=8080 docker compose up -d
- "${APP_PORT:-80}:80"
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy
+4
View File
@@ -0,0 +1,4 @@
demo.html
.env
.env.*
.dockerignore