mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
e58dc2c77c
* fix COPY in docker fiile
13 lines
259 B
Docker
13 lines
259 B
Docker
FROM openjdk:8-jre-alpine
|
|
|
|
WORKDIR /generator
|
|
|
|
COPY target/openapi-generator-online-3.0.0-SNAPSHOT.jar /generator/openapi-generator-online.jar
|
|
|
|
ENV GENERATOR_HOST=http://localhost
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["java", "-jar", "/generator/openapi-generator-online.jar"]
|
|
|