openapi-generator/modules/openapi-generator-online/Dockerfile
William Cheng e58dc2c77c Fix COPY in Dockerfile (#64)
* fix COPY in docker fiile
2018-05-16 08:35:04 -04:00

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"]