15 lines
309 B
Bash
Executable File

#!/bin/bash
set -e
# Create a temporary directory for packaging
mkdir -p build
rm -rf build/*
# Copy all files to the build directory
cp -r CloudronManifest.json Dockerfile .env start.sh stop.sh README.md logo.svg build/
# Create the package
cd build
cloudron package
echo "Package created successfully!"