add startup script

This commit is contained in:
ALinuxNinja 2017-04-26 16:38:01 -04:00
parent 5ab38a2a72
commit 72ac87f8e8
2 changed files with 6 additions and 0 deletions

View File

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

0
scripts/start.sh Normal file → Executable file
View File