forked from spacebar/rust-nex
dont force static builds
This commit is contained in:
parent
7994b25d5f
commit
3f2adf0c65
4 changed files with 22 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||
COPY . .
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target \
|
||||
./test-edition.sh && ./build-edition.sh && \
|
||||
RNEX_STATIC=1 ./test-edition.sh && RNEX_STATIC=1 ./build-edition.sh && \
|
||||
mkdir -p /app/dist && \
|
||||
cp /app/target/x86_64-unknown-linux-musl/release/edge_node_holder_server /app/dist/ && \
|
||||
cp /app/target/x86_64-unknown-linux-musl/release/proxy_insecure /app/dist/ && \
|
||||
|
|
@ -54,4 +54,4 @@ ENTRYPOINT ["/backend_server_secure"]
|
|||
|
||||
FROM chef AS dev-container
|
||||
RUN apk add --no-cache openjdk21-jdk gcompat git bash protobuf-dev
|
||||
COPY --from=builder /app/dist/* /usr/local/bin/
|
||||
COPY --from=builder /app/dist/* /usr/local/bin/
|
||||
|
|
|
|||
Loading…
Reference in a new issue