Initial commit

This commit is contained in:
2024-08-04 11:03:32 +02:00
commit 71a9e7a6dd
13 changed files with 353 additions and 0 deletions

20
makefile Normal file
View File

@@ -0,0 +1,20 @@
# makefile for sample commands
#
default: clean build
clean:
rm -rf ./front
rm -rf ./back
build:
mkdir -p ./front/dist
cp -r ../familySite1Frontend/dist/familySite1 ./front/dist/
cp ../familySite1Frontend/Dockerfile ./front/
mkdir -p ./back/target
cp -r ../familySite1Backend/target/*.jar ./back/target/
cp ../familySite1Backend/Dockerfile ./back/
chmod a+x ./back/target/*.jar
deploy:
docker compose up -d