Dockerfile 239 Bytes
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
1
2
3
4
5
6
FROM gradle:6.3-jdk8
ADD . /
WORKDIR /
RUN gradle --no-daemon --no-scan --no-build-cache distTar
RUN cd /build/distributions && tar xf app.tar

7
FROM openjdk:8-jre
Jonas Waeber's avatar
Jonas Waeber committed
8
9
COPY --from=0 /build/distributions/app /app
CMD /app/bin/xml-data-transform