gogo2/_containers/opendevin/start-services.sh

13 lines
299 B
Bash

#!/bin/bash
# Navigate to the backend directory and start the backend server in the background
cd /opendevin/backend
uvicorn opendevin.server.listen:app --port 3000 &
# Serve the frontend from the build directory
cd /opendevin/frontend/build
npx serve -l 3001 &
# Keep the container running
wait