mirror of
https://github.com/dathere/ckan_geoconnex_bulk_runner.git
synced 2026-07-05 15:12:20 +00:00
feat: enhanced cargo workspace, NM usage, Dockerfile
This commit is contained in:
parent
71b08a53f0
commit
3a79fb2b0a
18 changed files with 362 additions and 2478 deletions
9
bulk_loader/Dockerfile
Normal file
9
bulk_loader/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM rust:1.96 AS builder
|
||||
WORKDIR /app
|
||||
RUN rustup set profile minimal
|
||||
COPY . .
|
||||
RUN cargo build --release
|
||||
|
||||
FROM ubuntu:latest
|
||||
COPY --from=builder /app/target/release/bulk_loader /
|
||||
ENTRYPOINT ["/bulk_loader"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue