update expose

This commit is contained in:
ALinuxNinja 2017-04-27 04:48:51 -04:00
parent b94c21a250
commit f19810e98e
2 changed files with 3 additions and 2 deletions

View File

@ -21,5 +21,8 @@ RUN /opt/postal/bin/postal bundle /opt/postal/vendor/bundle
## Stick in startup script ## Stick in startup script
ADD scripts/start.sh /start.sh ADD scripts/start.sh /start.sh
## Expose
EXPOSE 5000
## Startup ## Startup
CMD ["/start.sh"] CMD ["/start.sh"]

View File

@ -31,7 +31,5 @@ else
/opt/postal/bin/postal upgrade /opt/postal/bin/postal upgrade
fi fi
## Clean Up
rm -r /opt/postal/tmp/pids
## Run ## Run
/opt/postal/bin/postal run /opt/postal/bin/postal run