🚚(docker) move frontend docker config

Move frontend docker config to
src/frontend/Dockerfile.
This commit is contained in:
Anthony LC
2024-04-15 09:32:47 +02:00
committed by Anthony LC
parent c2fb55506d
commit 2dc2341052
6 changed files with 65 additions and 63 deletions

View File

@@ -20,12 +20,11 @@ docker_build(
docker_build(
'localhost:5001/impress-frontend:latest',
context='..',
dockerfile='../Dockerfile',
build_args={'ENV': 'dev'},
only=['./src/frontend', './src/mail', './docker'],
target = 'frontend-builder-1',
dockerfile='../src/frontend/Dockerfile',
only=['./src/frontend', './docker', './dockerignore'],
target = 'impress',
live_update=[
sync('../src/frontend', '/builder'),
sync('../src/frontend', '/home/frontend'),
]
)