️(docker) improve y-provider image

Improve y-provider image by having the
node_modules as small as possible.
We move split the Dockerfile and
add it to the y-provider folder,
it will be easier to read and maintain.
This commit is contained in:
Anthony LC
2024-12-13 12:35:39 +01:00
committed by Anthony LC
parent e4a45a556c
commit 6d77cb1801
6 changed files with 53 additions and 39 deletions

View File

@@ -20,7 +20,7 @@ docker_build(
docker_build(
'localhost:5001/impress-y-provider:latest',
context='..',
dockerfile='../src/frontend/Dockerfile',
dockerfile='../src/frontend/servers/y-provider/Dockerfile',
only=['./src/frontend/', './docker/', './.dockerignore'],
target = 'y-provider',
live_update=[