Initial commit – Update UI
This commit is contained in:
commit
029caa8565
5 changed files with 235 additions and 0 deletions
22
run_container.sh
Executable file
22
run_container.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
CONTAINER_NAME="update-ui"
|
||||
IMAGE_NAME="update-ui:latest"
|
||||
PORT="8080"
|
||||
|
||||
docker stop $CONTAINER_NAME 2>/dev/null || true
|
||||
docker rm $CONTAINER_NAME 2>/dev/null || true
|
||||
|
||||
docker build -t $IMAGE_NAME .
|
||||
|
||||
docker run -d \
|
||||
--name $CONTAINER_NAME \
|
||||
-p $PORT:8080 \
|
||||
--read-only \
|
||||
--tmpfs /tmp \
|
||||
--cap-drop ALL \
|
||||
--security-opt no-new-privileges \
|
||||
$IMAGE_NAME
|
||||
|
||||
echo "✅ Update-UI läuft unter http://localhost:$PORT"
|
Loading…
Add table
Add a link
Reference in a new issue