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:
parent
bdc4616106
commit
573af0bc4b
21 changed files with 1587 additions and 1062 deletions
|
|
@ -28,7 +28,10 @@ services:
|
|||
# - write icons to shared volume allowing nginx to serve them (does it better than if we did it in the service)
|
||||
icons:
|
||||
# build is a bit strange: it has two parts
|
||||
build: ./src/icons/
|
||||
build:
|
||||
context: ./src/
|
||||
args:
|
||||
- SERVICE=icons
|
||||
container_name: icons
|
||||
restart: always
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue