SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
fix docker issue
Ahmed Essam7cdb40e5c937
diff --git a/Dockerfile b/Dockerfileindex 71e000f3..5d39cddc 100644--- a/Dockerfile+++ b/Dockerfile@@ -42,30 +42,13 @@ RUN PRISMA_CLI_BINARY_TARGETS="linux-musl-arm64-openssl-3.0.x" pnpm run prisma:gRUN mkdir -p /root && mkdir -p /root/smyth-ui-data && echo '{}' > /root/smyth-ui-data/vault.json-# Create startup script-COPY <<EOF /app/start.sh-#!/bin/sh+# RUN <<EOF+# cat > /app/start.sh <<'SCRIPT'-# Wait for MySQL to be ready-echo "Waiting for MySQL to be ready..."-sleep 10+# EOF-# Run Prisma migrations-echo "Running Prisma migrations..."-cd /app/packages/middleware-export PRISMA_CLI_BINARY_TARGETS="linux-musl-arm64-openssl-3.0.x"-pnpm run prisma:deploy-echo "Migrations completed!"+COPY docker-endpoint.sh /app/start.sh-echo "Starting SmythOS services"-cd /app/-pnpm start--echo "All services started!"--EOF--# Make startup script executableRUN chmod +x /app/start.sh# Expose only the app portdiff --git a/docker-endpoint.sh b/docker-endpoint.shnew file mode 100644index 00000000..46ec477f--- /dev/null+++ b/docker-endpoint.sh@@ -0,0 +1,17 @@+#!/bin/sh++echo "Waiting for MySQL to be ready..."+sleep 10++echo "Running Prisma migrations..."+cd /app/packages/middleware+export PRISMA_CLI_BINARY_TARGETS="linux-musl-arm64-openssl-3.0.x"+pnpm run prisma:deploy+echo "Migrations completed!"++echo "Starting SmythOS services"+cd /app/+pnpm start++echo "All services started!"+# SCRIPT\ No newline at end of file