Skip to content

Commit

Permalink
Docker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
volas committed Jan 29, 2019
1 parent 6d92951 commit bfe8bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
FROM openjdk:8-jdk-alpine as build
WORKDIR /build
COPY . .
RUN ./gradlew cleanProject build
RUN chmod +x gradlew && chmod +x gradle/wrapper/gradle-wrapper.jar && ./gradlew cleanProject build

FROM openjdk:8-jre-alpine as render
WORKDIR /render

COPY --from=build /build/render/build/libs/render.jar .
COPY .revisions .
COPY render/src/main/compress.sh .
RUN chmod +x compress.sh

RUN apk update && \
apk add git pngquant && \
Expand Down

0 comments on commit bfe8bd1

Please sign in to comment.