Copy package.yaml instead

This commit is contained in:
Michael Snoyman 2020-04-05 16:29:19 +03:00
parent 3992038a27
commit f145417e06
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046

View File

@ -6,6 +6,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
curl -sSL https://get.haskellstack.org/ | sh && \
unset DEBIAN_FRONTEND
RUN stack update
COPY stack.yaml stackage-server.cabal /src/
COPY stack.yaml package.yaml /src/
RUN stack setup --stack-yaml /src/stack.yaml
RUN stack build --only-snapshot --stack-yaml /src/stack.yaml