from python:3.10-slim workdir /app run apt-get update -y && apt-get install -y wget && \ wget -q && \ install -m755 cloudflared-linux-amd64 /usr/local/bin/cloudflared && \ pip install --no-cache-dir --upgrade pip copy app.py /app/app.py env PORT=5678 expose 7860 cmd sh -c "cloudflared tunnel --url tcp://localhost:$PORT --no-autoupdate & python3 -u /app/app.py"