Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

deployment for the swarm

Michal Rutka7fe68bdbf317
diff --git a/deployment/Dockerfile b/deployment/Dockerfile
index b9f8ee8e6..b803f777e 100644
--- a/deployment/Dockerfile
+++ b/deployment/Dockerfile
@@ -6,4 +6,8 @@ ARG GIT_COMMIT=unknown
LABEL git-commit=$GIT_COMMIT
RUN mkdir -p /deployment/extensions
-ADD build /deployment
\ No newline at end of file
+ADD build /deployment
+
+# In swarm mode the role of the swarm manager is to keep all continers running, therefore
+# don't exit this container - rather run it in the infinite loop
+ENTRYPOINT tail -f /dev/null
\ No newline at end of file