summaryrefslogtreecommitdiffstats
path: root/docker/entrypoint.sh
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-10-13 20:55:33 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-10-13 21:01:17 -0300
commite875973f63fc9a9582e957eb7264a4a589b78a97 (patch)
tree7169e9949d83d0867b10bdb1cec44911bbff2aff /docker/entrypoint.sh
parent61f6fb386e162ed2bdbd2f9351e7c220c898483f (diff)
Add a Dockerfile and related files
This builds a Docker container based upon bookworm-slim and starts the application using Qt's VNC platform plugin. Change-Id: Ica4437bb73b7c9b73b8e7ade6d2a7b508bb817e9 Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'docker/entrypoint.sh')
-rwxr-xr-xdocker/entrypoint.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
new file mode 100755
index 0000000..82da5c3
--- /dev/null
+++ b/docker/entrypoint.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+set -x
+
+cd /opt/agl-demo-control-panel
+QT_QPA_PLATFORM="vnc:size=1920x1080" python3 -u main.py \ No newline at end of file