add startup script
This commit is contained in:
parent
5ab38a2a72
commit
72ac87f8e8
|
@ -17,5 +17,11 @@ RUN git clone https://github.com/atech/postal /opt/postal/app \
|
||||||
## Install gems required by postal
|
## Install gems required by postal
|
||||||
RUN /opt/postal/app/bin/postal bundle /opt/postal/app/vendor/bundle
|
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
|
## Clean up apt
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
## Entrypoint
|
||||||
|
ENTRYPOINT ["/start.sh"]
|
||||||
|
|
0
scripts/start.sh
Normal file → Executable file
0
scripts/start.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user