use different job for each image

This commit is contained in:
Anshul Sharma 2025-04-28 00:04:20 +05:30
parent 6d4e5a740f
commit efd68a6f50
2 changed files with 36 additions and 10 deletions

View file

@ -2,9 +2,7 @@ version: '3.8'
services:
frontend:
build:
context: ./surfsense_web
dockerfile: Dockerfile
images: ghcr.io/anshul7665/surfsense_ui:latest
ports:
- "3000:3000"
volumes:
@ -16,9 +14,7 @@ services:
- NEXT_PUBLIC_API_URL=http://backend:8000
backend:
build:
context: ./surfsense_backend
dockerfile: Dockerfile
images: ghcr.io/anshul7665/surfsense_backend:latest
ports:
- "8000:8000"
volumes: