Caching diesel-cli just in case.

pull/722/head
Dessalines 2019-04-21 16:37:54 -07:00
parent 2a92a5611c
commit 8a57fd420a
1 changed files with 3 additions and 0 deletions

View 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