Files
gns3-docker-appliances/js_login/docker/start.sh

13 lines
202 B
Bash

#!/bin/sh
if [[ -z "${FLAG}" ]]; then
echo "Please set the FLAG environment variable!"
exit 1
fi
echo $FLAG > /web/flag.txt
echo "Starting HTTP server..."
cd /web
python3 -m http.server 8080