]> Untitled Git - lemmy.git/commitdiff
Caching diesel-cli just in case.
authorDessalines <tyhou13@gmx.com>
Sun, 21 Apr 2019 23:37:54 +0000 (16:37 -0700)
committerDessalines <tyhou13@gmx.com>
Sun, 21 Apr 2019 23:37:54 +0000 (16:37 -0700)
Dockerfile

index 0987584995efe22f06f45e397f2f52b735198594..2f4e3e3af1d7bb0fd090091dc0639303c9793323 100644 (file)
@@ -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