diff --git a/deploy/buildx.sh b/deploy/buildx.sh index 96e0fe4..8c19bc9 100644 --- a/deploy/buildx.sh +++ b/deploy/buildx.sh @@ -1,2 +1,7 @@ -#!/bin/bash -docker buildx build --platform linux/amd64 -t meowgit.nekoea.red/nihonium/forgejo-runner:latest -f ./Dockerfiles/Dockerfile_forgejo-runner . --push \ No newline at end of file +#!/usr/bin/env bash + +export BACKEND_API_BASE_URL="http://127.0.0.1:8080" + +docker buildx build --platform linux/amd64 -t meowgit.nekoea.red/nihonium/forgejo-runner:latest -f ./Dockerfiles/Dockerfile_forgejo-runner . --push +docker buildx build --build-arg VITE_BACKEND_API_BASE_URL=${BACKEND_API_BASE_URL} --platform linux/amd64 -t meowgit.nekoea.red/nihonium/nyanimedb-frontend:latest -f .\Dockerfiles\Dockerfile_frontend . --push +docker buildx build --platform linux/amd64 -t meowgit.nekoea.red/nihonium/nyanimedb-backend:latest -f .\Dockerfiles\Dockerfile_backend . --push \ No newline at end of file