correct logic rfo

This commit is contained in:
argoexpert press
2025-06-18 18:12:37 +03:00
parent 740d2267a3
commit cd0c2b9f97
10 changed files with 269 additions and 35 deletions

View File

@@ -1,35 +1,10 @@
version: '3'
services:
mkcert:
build:
context: ./mkcert
dockerfile: Dockerfile
environment:
CERT_IP: 194.87.253.43 # Заменить на нужный IP
volumes:
- ./certs:/certs # Важно: volume монтируем относительно docker-compose.yml
dev:
#build: .
image: agro_front
app:
build: .
volumes:
- ./dist:/app/dist
- ./src:/app/src
- ./public:/app/public
command: ["dev"]
environment:
- NODE_ENV=development
ports:
- 5173:5173
container_name: agro_front
build:
#build: .
image: agro_front
volumes:
- ./dist:/app/dist
- ./src:/app/src
- ./public:/app/public
environment:
- NODE_ENV=production
command: ["build"]