feat(infra): singular dockerfile with vite bundling

Using Vite as a bundler to allow easier builds, with shared library

Moved to a single dockerfile that takes an argument to specify which
service to use

moved some file around to faciliate bundling with vite

cried a lot
This commit is contained in:
Maieul BOYER 2025-07-30 21:27:56 +02:00 committed by Maix0
parent bdc4616106
commit 573af0bc4b
21 changed files with 1587 additions and 1062 deletions

View file

@ -6,12 +6,10 @@
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/06/11 18:10:26 by maiboyer #+# #+# #
# Updated: 2025/07/28 18:00:02 by maiboyer ### ########.fr #
# Updated: 2025/07/30 19:32:11 by maiboyer ### ########.fr #
# #
# **************************************************************************** #
BUILD_IMAGE = trans_builder
all: build
docker compose up -d
@ -22,7 +20,6 @@ down:
docker compose down
build:
docker build -t "$(BUILD_IMAGE)" ./src
docker compose build
re:
@ -30,7 +27,6 @@ re:
$(MAKE) -f ./Docker.mk all
clean:
-docker rmi "$(BUILD_IMAGE)"
docker compose down
prune: clean