wip(ci): docker dev and prod build + ci

This commit is contained in:
yassin@siouda.com
2023-10-11 16:58:00 +02:00
parent 4fdfdbe89f
commit cfac5b116e
4 changed files with 81 additions and 2 deletions

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
version: '3.7'
services:
topos-dev:
container_name: topos-dev
profiles: ["dev"]
build:
context: .
target: "dev"
ports:
- "8000:8000"
topos-prod:
container_name: topos-prod
profiles: ["prod"]
build:
context: .
target: "prod"
ports:
- "8001:80"