fix: restructured dockerfile in hope of some gods in my rooms heater to fix this issue
Build and Deploy / build-docker (push) Successful in 5m10s
Details
Build and Deploy / build-docker (push) Successful in 5m10s
Details
This commit is contained in:
parent
12fa0fac5f
commit
2445d3462e
|
@ -1,7 +1,3 @@
|
|||
FROM debian:bullseye-slim as final
|
||||
|
||||
RUN apt-get update; apt-get install -y libssl3; rm -rf /var/lib/apt/lists/*
|
||||
|
||||
FROM rust:latest as build
|
||||
|
||||
RUN apt-get update; \
|
||||
|
@ -29,7 +25,9 @@ RUN rm ./target/release/deps/nerdcult_api*
|
|||
|
||||
RUN SQLX_OFFLINE=true cargo build --release
|
||||
|
||||
FROM final
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update; apt-get install -y libssl3; rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=build /nerdcult_api/target/release/nerdcult_api /bin/nerdcult_api
|
||||
|
||||
|
|
Loading…
Reference in New Issue