Dockerfile 132 B

12345678
  1. FROM java:8
  2. EXPOSE 8081
  3. VOLUME /tmp
  4. ADD renren-api.jar /app.jar
  5. RUN bash -c 'touch /app.jar'
  6. ENTRYPOINT ["java","-jar","/app.jar"]