Create Docker image for JS Login

This commit is contained in:
2025-01-31 12:05:38 +01:00
parent a177bec498
commit fd6123e72c
5 changed files with 29 additions and 2 deletions

13
js_login/docker/start.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/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