mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
14 lines
329 B
Docker
14 lines
329 B
Docker
FROM openjdk: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"]
|
|
|