layering issues

This commit is contained in:
2025-10-20 16:21:56 -07:00
parent 416d2ab3e5
commit a6a459dcd9
2 changed files with 6 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ RUN chmod +x /etc/services.d/backupbot/run
# Copy web frontend
COPY web /app
RUN chmod +x /app/cgi-bin/backupbot.cgi
# Expose web frontend port
EXPOSE 8080

View File

@@ -12,6 +12,11 @@ else
source /config/backupbot.conf
set +a
fi
# Initialize default web interface if missing
if [ ! -d /config/web ]; then
echo "[INFO] Populating /config/web from defaults..."
cp -r /defaults/web /config/
fi
# Start Python HTTP server for web config in background
cd /app