Initial Commit

This commit is contained in:
2026-04-09 23:23:31 +02:00
commit a8f0d9c3ee
94 changed files with 15173 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM rust:latest AS builder
WORKDIR /app
ENV CARGO_HOME=/usr/local/cargo
ENV CARGO_TARGET_DIR=/app/target
RUN apt-get update && apt-get install -y pkg-config libssl-dev
COPY Cargo.toml Cargo.lock ./
# clean build (important)
RUN cargo clean || true
RUN mkdir src && echo "fn main() {}" > src/main.rs
RUN cargo build --release
RUN rm -rf src
COPY src ./src
RUN cargo build --release