Advertisement
mitrakov

Simple Dockerfile

Oct 4th, 2018
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.27 KB | None | 0 0
  1. # Approval Docker Image
  2. # "aaa:3306" is network name for mysql:5.7 container
  3. # code for wait-for-it can be found in https://pastebin.com/Ya2aturj
  4.  
  5. FROM openjdk:8-jre
  6. COPY approval /app
  7. EXPOSE 9002 3306
  8. WORKDIR /app
  9. CMD ./wait-for-it.sh aaa:3306 -t 180 -- ./start.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement