Skip to content

Commit

Permalink
Run shards update before running shards install, to fix build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanKrall committed Nov 22, 2022
1 parent bcd4cad commit d6e65f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ RUN apk update && apk upgrade && apk add sqlite-static
WORKDIR /build/
ARG version
RUN git clone --branch ${version:-dist} --depth 1 https://github.com/toddsundsted/ktistec .
RUN shards update
RUN shards install --production
RUN crystal build src/ktistec/server.cr --static --no-debug --release

Expand Down

0 comments on commit d6e65f7

Please sign in to comment.