mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 15:39:11 +00:00
Caching diesel-cli just in case.
This commit is contained in:
parent
2a92a5611c
commit
8a57fd420a
|
@ -32,6 +32,9 @@ COPY server/migrations ./migrations/
|
||||||
RUN cargo build --frozen --release --bin lemmy
|
RUN cargo build --frozen --release --bin lemmy
|
||||||
RUN mv /app/server/target/release/lemmy /app/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
|
# The output image
|
||||||
# FROM debian:stable-slim
|
# FROM debian:stable-slim
|
||||||
# RUN apt-get -y update && apt-get install -y postgresql-client
|
# RUN apt-get -y update && apt-get install -y postgresql-client
|
||||||
|
|
Loading…
Reference in a new issue