mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-06 05:15:00 -06:00
Remove mount cache comments
This commit is contained in:
@@ -4,9 +4,6 @@ FROM rust:latest AS builder-demo
|
|||||||
WORKDIR /build/demo
|
WORKDIR /build/demo
|
||||||
|
|
||||||
COPY ./demo ./
|
COPY ./demo ./
|
||||||
# RUN --mount=type=cache,id=s/dynamic-preauth-demo,target=/build/demo/target/ \
|
|
||||||
# --mount=type=cache,id=s/dynamic-preauth-demo,target=/usr/local/cargo/git/db \
|
|
||||||
# --mount=type=cache,id=s/dynamic-preauth-demo,target=/usr/local/cargo/registry \
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Build the server application
|
# Build the server application
|
||||||
@@ -17,10 +14,6 @@ WORKDIR /build/server
|
|||||||
|
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
COPY ./Cargo.toml ./Cargo.lock ./
|
COPY ./Cargo.toml ./Cargo.lock ./
|
||||||
# --mount=type=cache,id=s/<service id>-<target path>,target=<target path>
|
|
||||||
# RUN --mount=type=cache,id=s/dynamic-preauth,target=/build/server/target/ \
|
|
||||||
# --mount=type=cache,id=s/dynamic-preauth,target=/usr/local/cargo/git/db \
|
|
||||||
# --mount=type=cache,id=s/dynamic-preauth,target=/usr/local/cargo/registry/ \
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Run the server application
|
# Run the server application
|
||||||
|
|||||||
Reference in New Issue
Block a user