diff --git a/Dockerfile b/Dockerfile index 8af62f8..8a61604 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,11 @@ RUN git clone https://github.com/atech/postal /opt/postal/app \ ## Install gems required by postal RUN /opt/postal/app/bin/postal bundle /opt/postal/app/vendor/bundle +## Stick in startup script +ADD scripts/start.sh /start.sh + ## Clean up apt RUN rm -rf /var/lib/apt/lists/* + +## Entrypoint +ENTRYPOINT ["/start.sh"] diff --git a/scripts/start.sh b/scripts/start.sh old mode 100644 new mode 100755