From: Dessalines Date: Sun, 21 Apr 2019 23:37:54 +0000 (-0700) Subject: Caching diesel-cli just in case. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%7B%7D/%22%7Burl%7D/%7Bthis.imageSrc%7D?a=commitdiff_plain;h=8a57fd420ae596f9dfecc8cad46808c3e0800fe3;p=lemmy.git Caching diesel-cli just in case. --- diff --git a/Dockerfile b/Dockerfile index 09875849..2f4e3e3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,9 @@ COPY server/migrations ./migrations/ RUN cargo build --frozen --release --bin lemmy RUN mv /app/server/target/release/lemmy /app/lemmy +# Get diesel-cli on there just in case +RUN cargo install diesel_cli --no-default-features --features postgres + # The output image # FROM debian:stable-slim # RUN apt-get -y update && apt-get install -y postgresql-client