15 lines
210 B
Docker
15 lines
210 B
Docker
|
FROM rust:1.80.1 AS build
|
||
|
|
||
|
RUN apt-get update && apt-get install -y lld
|
||
|
|
||
|
WORKDIR /workspace
|
||
|
|
||
|
COPY src /workspace/src
|
||
|
COPY Cargo.toml /workspace/
|
||
|
COPY Cargo.lock /workspace/
|
||
|
|
||
|
RUN cargo build
|
||
|
|
||
|
|
||
|
FROM build AS dev
|