Skip to content

Commit

Permalink
Sync packages when building the container
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Nov 13, 2023
1 parent 297a3b5 commit 1702df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/inko-lang/inko:latest AS builder
ADD . /openflow
WORKDIR /openflow
RUN inko build -o build/openflow
RUN inko pkg sync && inko build -o build/openflow

FROM ghcr.io/inko-lang/inko:latest
COPY --from=builder ["/openflow/build/openflow", "/usr/bin/openflow"]
Expand Down

0 comments on commit 1702df3

Please sign in to comment.