From f19810e98eba9035eb58d063da75359d9e307965 Mon Sep 17 00:00:00 2001 From: ALinuxNinja Date: Thu, 27 Apr 2017 04:48:51 -0400 Subject: [PATCH] update expose --- Dockerfile | 3 +++ scripts/start.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e883774..6dd19ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,5 +21,8 @@ RUN /opt/postal/bin/postal bundle /opt/postal/vendor/bundle ## Stick in startup script ADD scripts/start.sh /start.sh +## Expose +EXPOSE 5000 + ## Startup CMD ["/start.sh"] diff --git a/scripts/start.sh b/scripts/start.sh index 484beef..0468139 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -31,7 +31,5 @@ else /opt/postal/bin/postal upgrade fi -## Clean Up -rm -r /opt/postal/tmp/pids ## Run /opt/postal/bin/postal run