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

@ -1,7 +1,7 @@
#forward the post request to the microservice
location /api/icons/set/ {
rewrite ^/api/icons/set/(.*) $1 break;
proxy_pass http://icons/set/$uri;
proxy_pass http://icons/$uri;
}
#handle the get request with nginx, since it does this well