8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3e5f4 commit f8c1748Copy full SHA for f8c1748
Dockerfile
@@ -15,13 +15,13 @@ FROM rust:1.76-alpine as backend
15
WORKDIR /tmp
16
RUN apk add --no-cache libc-dev openssl-dev alpine-sdk
17
COPY ./packages/backend ./
18
-RUN cargo build --release
+RUN RUSTFLAGS="-Ctarget-feature=-crt-static" cargo build --release
19
20
21
# RUNNER
22
FROM alpine:3.19
23
WORKDIR /app
24
-RUN apk add --no-cache curl
+RUN apk add --no-cache curl libgcc
25
COPY --from=backend /tmp/target/release/cryptgeon .
26
COPY --from=client /tmp/packages/frontend/build ./frontend
27
ENV FRONTEND_PATH="./frontend"
0 commit comments