Skip to content

Commit

Permalink
Fix Dockerfile by correctly including the new tasklite directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed May 3, 2024
1 parent 2c9a7aa commit 7f0ed11
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 @@ -15,10 +15,10 @@ COPY tasklite-core/package.yaml tasklite-core/package.yaml

RUN stack install --only-dependencies tasklite-core


########## Install CLI tool ##########

COPY tasklite-core tasklite-core
COPY tasklite tasklite

# Needed for retrieving the version number
COPY .git .git
Expand All @@ -27,15 +27,15 @@ COPY .git .git
RUN mkdir -p /etc/stack
RUN echo "allow-different-user: true" >> /etc/stack/config.yaml

RUN stack install tasklite-core
RUN stack install tasklite


# Same OS version as the builder image
FROM haskell:9.6.4-slim-buster
RUN apt-get update && \
apt-get install -y libgmp10
COPY --from=builder \
/tasklite/tasklite-core/example-config.yaml \
/tasklite/tasklite/example-config.yaml \
/root/.config/tasklite/config.yaml
COPY --from=builder /root/.local/bin/tasklite /usr/local/bin/tasklite

Expand Down

0 comments on commit 7f0ed11

Please sign in to comment.