Create Docker image for JS Login
This commit is contained in:
13
js_login/docker/start.sh
Normal file
13
js_login/docker/start.sh
Normal 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
|
||||
Reference in New Issue
Block a user