From d6bb6d33a39fd6524224c7de294acec65b51a31c Mon Sep 17 00:00:00 2001 From: John Wu Date: Tue, 6 Oct 2015 16:30:18 -0700 Subject: [PATCH] Expose ports in Dockerfile Signed-off-by: John Wu --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0ed4c53ff..4891ceb74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,4 +48,9 @@ RUN cp $FILES_BASE_URL"redash_supervisord_init" /etc/init.d/redash_supervisord # Fix permissions RUN chown -R redash /opt/redash +# Expose ports +EXPOSE 5000 +EXPOSE 9001 + +# Startup script CMD bash /etc/init.d/redash_supervisord start