forked from TWS/kalkutago
18 lines
316 B
Makefile
18 lines
316 B
Makefile
|
|
||
|
all: start-server
|
||
|
|
||
|
client/dist/index.html:
|
||
|
cd client; yarn && yarn build
|
||
|
|
||
|
build-client: client/dist/index.html
|
||
|
|
||
|
server/public/: client/dist/index.html
|
||
|
rsync -a client/dist/ server/public/
|
||
|
|
||
|
start-server: server/public/
|
||
|
docker compose up --build -d
|
||
|
|
||
|
clean:
|
||
|
docker compose down
|
||
|
rm -r server/public/ client/dist/
|