about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-01-29 22:49:56 +0100
committerEmile <hanemile@protonmail.com>2020-01-29 22:49:56 +0100
commit6c2c5ebc9e2e0468db107529a3f18ecb2c067f25 (patch)
tree82629d9190dd1683190a8ab1483669f91e321103
parent6135e10897a2f913fe3d24a18ee60a655caad9df (diff)
using an entrypoint instead of a cmd
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c0f9507..dcae29f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,4 +19,4 @@ RUN chmod 000 /home/jail
 
 EXPOSE 2222
 
-CMD su -c ./ssh-grab-passwords jail
+ENTRYPOINT su -c ./ssh-grab-passwords jail