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