remove Dockerfile.old
This commit is contained in:
parent
79d406cee6
commit
2dd19249db
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
|||
FROM rust:1.65.0-bullseye AS builder
|
||||
ARG SERVICE
|
||||
|
||||
WORKDIR /app
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY services ./services
|
||||
COPY hack ./hack
|
||||
|
||||
RUN cargo build --bin ${SERVICE} --release
|
||||
|
||||
|
||||
FROM debian:bullseye-slim AS target
|
||||
ARG SERVICE
|
||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /app/target/release/${SERVICE} /app
|
||||
|
||||
RUN chmod a+x /app
|
||||
CMD /app
|
Loading…
Add table
Reference in a new issue