layering issues
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user