Skip to content

Commit

Permalink
added volume; changed cmd to entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdito committed Oct 21, 2015
1 parent b157275 commit fb9adb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM java:openjdk-8
RUN wget -qO- "https://github.com/skavanagh/KeyBox/releases/download/v2.84.00/keybox-jetty-v2.84_00.tar.gz" \
| tar -xzC /opt

EXPOSE 8443
EXPOSE 8443/tcp
VOLUME ["/a/keydb"]

ADD start.sh /a/start.sh
RUN chmod +x /a/start.sh

CMD ["/a/start.sh"]
ENTRYPOINT ["/a/start.sh"]

0 comments on commit fb9adb0

Please sign in to comment.