mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
* add tests for openapi-generator-cli dockerfile * trigger workflow * add cp * restore * use eclipse-temurin:17.0.3_7-jre-focal * update dockerfile * update image to newer version
16 lines
524 B
Docker
16 lines
524 B
Docker
FROM eclipse-temurin:17.0.9_9-jre-focal
|
|
|
|
WORKDIR /generator
|
|
|
|
COPY target/openapi-generator-online.jar /generator/openapi-generator-online.jar
|
|
|
|
# GENERATOR_HOST can be used to determine the target location of a download link.
|
|
# The default value assumes binding to host via: docker -p 8080:8080 image_name
|
|
# Generally, this "just works" without GENERATOR_HOST, and this is provided only as
|
|
# a workaround if all else fails.
|
|
ENV GENERATOR_HOST=""
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["java", "-jar", "/generator/openapi-generator-online.jar" ]
|