openapi-generator/modules/swagger-generator/Dockerfile
2016-05-24 19:58:26 -04:00

14 lines
326 B
Docker

FROM java:8-jre-alpine
WORKDIR /generator
COPY target/lib/jetty-runner* /generator/jetty-runner.jar
COPY target/*.war /generator/swagger-generator.war
ENV GENERATOR_HOST=https://generator.swaggerhub.com/api/swagger.json
EXPOSE 8080
CMD ["java", "-jar", "/generator/jetty-runner.jar", "/generator/swagger-generator.war"]