Skip to content

Commit

Permalink
chore(docker): remove extra files from julia home dir
Browse files Browse the repository at this point in the history
Here we only keep `artifacts` and `conda` from `~/.julia` directory, instead of the whole thing.
  • Loading branch information
ivan-aksamentov committed Mar 18, 2022
1 parent 3344b0f commit 710021b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ FROM debian:11 as prod
COPY --from=builder /build_dir/pangraph/ /usr/

# Copy julia dependencies from the builder stage
COPY --from=builder /root/.julia /root/.julia
COPY --from=builder /root/.julia/artifacts /root/.julia/artifacts
COPY --from=builder /root/.julia/conda/3/bin /root/.julia/conda/3/bin
COPY --from=builder /root/.julia/conda/3/lib /root/.julia/conda/3/lib

SHELL ["bash", "-c"]

Expand Down

0 comments on commit 710021b

Please sign in to comment.