Merge branch 'main' of http://103.107.52.82:3004/at-transit/web-at-transit
This commit is contained in:
commit
9519fef02d
174 files changed
+5964
-27
No files matched your search
+5
-2
@@ -1,7 +1,10 @@
|
||||
# syntax=docker/dockerfile:1.7
|
||||
FROM rust:1.88-bookworm AS builder
|
||||
# rustc 1.89+ required: latest transitive deps (e.g. uuid 1.28) set MSRV 1.89.
|
||||
# No Cargo.lock is committed, so the resolver picks the newest crates on every
|
||||
# build — keep this tag >= the current MSRV of the dependency tree.
|
||||
FROM rust:1.90-bookworm AS builder
|
||||
WORKDIR /build
|
||||
ENV CARGO_BUILD_JOBS=2
|
||||
ENV CARGO_BUILD_JOBS=1
|
||||
COPY Cargo.toml Cargo.lock* ./
|
||||
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build --release && rm -rf src
|
||||
COPY . .
|
||||
|
||||
Reference in new issue
Block a user