groupdocs-total/GroupDocs.Total-for-Java-Spring

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM openjdk:8-jre-alpine
RUN mkdir -p /home/groupdocs/app && apk add fontconfig && apk add msttcorefonts-installer && update-ms-fonts && fc-cache -f
WORKDIR /home/groupdocs/app
COPY target/release/DocumentSamples /home/groupdocs/app
COPY target/release/Licenses /home/groupdocs/app
COPY target/release/total-spring-*.jar /home/groupdocs/app/app.jar

EXPOSE 8080

ENTRYPOINT java -jar /home/groupdocs/app/app.jar configuration.yml