This commit is contained in:
parent
40a576ff0b
commit
f4cbe1c848
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ RUN git submodule update --init
|
|||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target \
|
||||
cargo build --release --target x86_64-unknown-linux-musl && \
|
||||
mkdir -p /app/dist && \
|
||||
mkdir -p /app/dist
|
||||
|
||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/spacebot /app/dist/
|
||||
|
||||
FROM alpine:latest AS final
|
||||
|
|
|
|||
Loading…
Reference in a new issue