server: add devcontainer

This commit is contained in:
2024-08-25 09:18:22 +02:00
parent de55283839
commit ac63fd8349
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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