Skip to content

Commit

Permalink
use alpine for the last stage
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Bartels <[email protected]>
  • Loading branch information
fbartels committed Nov 3, 2018
1 parent cd685b3 commit b9df93a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ RUN stack install --only-dependencies

COPY . /app

RUN stack install
RUN stack install --ghc-options '-optl-static'

FROM haskell:8.4
FROM alpine:latest

WORKDIR /app
COPY --from=build-env /app .
COPY --from=build-env /root/.local/bin/toodles /root/.local/bin/toodles
COPY --from=build-env /root/.local/bin/toodles /usr/local/bin/

VOLUME /repo

Expand Down

0 comments on commit b9df93a

Please sign in to comment.