From 06504a8bb111279727e2df7b7c73a8b95f8b16fa Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Mon, 7 Oct 2013 21:59:22 +0530 Subject: [PATCH] expose SSH(22) and HTTP(80) ports --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 39cd87c2..e046719f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,7 @@ RUN chmod 755 /gitlab/start /gitlab/setup/install && /gitlab/setup/install ADD resources/authorized_keys /root/.ssh/ RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys && chown root:root -R /root/.ssh +EXPOSE 22 +EXPOSE 80 + CMD ["/gitlab/start"]