Expose ports in Dockerfile

Signed-off-by: John Wu <webmaster@leapoahead.com>
This commit is contained in:
John Wu
2015-10-06 16:30:18 -07:00
parent d2d52d44f7
commit d6bb6d33a3

View File

@@ -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