#!/bin/bash set -e # ─── System packages ────────────────────────────────────────────────────────── apt-get update -qq apt-get install -y --no-install-recommends \ curl wget git vim nano htop procps jq less unzip # ─── Python dependencies ────────────────────────────────────────────────────── pip install -q -r /app/requirements.txt # ─── Custom setup (add your own steps below) ────────────────────────────────── curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" nvm install 24 # ─── Start server ───────────────────────────────────────────────────────────── exec python -u /app/main.py