socialpredict
socialpredict copied to clipboard
Build All Images and Launch With One Command
Something along the lines of:
echo "Setting up backend..."
cd backend
chmod +x builddockerfile
./builddockerfile
# Frontend setup
echo "Setting up frontend..."
cd ../frontend
chmod +x builddockerfile
./builddockerfile
# Nginx setup
echo "Setting up nginx..."
cd ../nginx
chmod +x builddockerfile
./builddockerfile
# Navigate back to the root directory
cd ..
# Run the service
echo "Starting the service..."
chmod +x compose-dev
./compose-dev