File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ RUN cargo chef prepare --bin ${BIN_NAME} --recipe-path recipe.json
15
15
16
16
FROM chef AS builder
17
17
ARG BIN_NAME
18
+ RUN apt update -y && apt upgrade -y && apt install -y --no-install-recommends pkg-config libssl-dev
18
19
COPY --from=planner /app/recipe.json recipe.json
19
20
# Build dependencies - this is the caching Docker layer!
20
21
RUN cargo chef cook --release --bin ${BIN_NAME} --recipe-path recipe.json
@@ -26,6 +27,7 @@ RUN cargo build --release --bin ${BIN_NAME}
26
27
FROM debian:stable-slim AS runtime
27
28
ARG BIN_NAME
28
29
WORKDIR /app
30
+ RUN apt update -y && apt upgrade -y && apt install -y --no-install-recommends pkg-config libssl-dev
29
31
COPY --from=builder /app/target/release/${BIN_NAME} /app/bin
30
- ENV PROXYAPP_PRODUCTION "true"
32
+ ENV PROXYAPP_PRODUCTION= "true"
31
33
ENTRYPOINT ["/app/bin" ]
You can’t perform that action at this time.
0 commit comments