summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDessalines <happydooby@gmail.com>2019-04-21 16:37:54 -0700
committerDessalines <happydooby@gmail.com>2019-04-21 16:37:54 -0700
commitbfcc6e948f18850cda885d674be3fa6e57d95f99 (patch)
treea6d11943bc2597b034f510d886fbbf4e26bf84b1 /Dockerfile
parent90565a4993971da14d8e05cf737ac076656133a5 (diff)
Caching diesel-cli just in case.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
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