mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
14 lines
275 B
Docker
14 lines
275 B
Docker
FROM maven:3.3-jdk-7
|
|
|
|
WORKDIR /src
|
|
VOLUME /src
|
|
VOLUME /root/.m2/repository
|
|
|
|
ADD . /opt/swagger-codegen
|
|
|
|
RUN cd /opt/swagger-codegen && mvn package
|
|
|
|
ENTRYPOINT ["java", "-jar", "/opt/swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"]
|
|
|
|
CMD ["help"]
|