diff --git a/build arm64.sh b/build arm64.sh index a1e896a..89c125c 100644 --- a/build arm64.sh +++ b/build arm64.sh @@ -4,4 +4,13 @@ if [ $? -ne 0 ]; then exit 1 fi cp -r static build/ -cp package.json build/ \ No newline at end of file +cp -r GeoLite2-Country.mmdb build/ +cp -r Logo.png build/ +mkdir build/images +cp client/src/assets/images/icons/cosmos_gray.png build/cosmos_gray.png +cp client/src/assets/images/icons/cosmos_gray.png cosmos_gray.png +echo '{' > build/meta.json +cat package.json | grep -E '"version"' >> build/meta.json +echo ' "buildDate": "'`date`'",' >> build/meta.json +echo ' "built from": "'`hostname`'"' >> build/meta.json +echo '}' >> build/meta.json \ No newline at end of file diff --git a/docker.sh b/docker.sh index 0cd2087..f545557 100644 --- a/docker.sh +++ b/docker.sh @@ -21,7 +21,7 @@ docker build \ -t azukaar/cosmos-server:$LATEST \ . -sh build arm64.sh +sh build.sh arm64 docker build \ -t azukaar/cosmos-server:$VERSION-arm64 \