Free your developers with a framework that lets them focus on building.
HyperLine removes the complexity of infrastructure development with its developer-centric platform.
A stateful, powerful, framework for building infrastructure.
1export default async function main() {
2 const container = createContainer({
3 image: "ubuntu:latest",
4 });
5
6 const response = await container(`
7 ssh $HOST 'cd app && sudo docker compose down &&
8 sudo git reset --hard origin/master && sudo docker compose up -d --build
9 && echo OK'
10 `, {
11 outputSchema: z.literal("OK"),
12 });
13
14 await container.close();
15}
Run your code in any runtime environment.