fix: dockerfile warnings
All checks were successful
Build and Push Docker Image / Build And Push Docker Image (push) Successful in 23s
All checks were successful
Build and Push Docker Image / Build And Push Docker Image (push) Successful in 23s
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM rust:1.81@sha256:fcd390e0a3a6bfcf26969861efbe7b864df052aa71a361cf3cd7c5c585b1b413 as builder
|
||||
WORKDIR ./src/
|
||||
FROM rust:1.81@sha256:fcd390e0a3a6bfcf26969861efbe7b864df052aa71a361cf3cd7c5c585b1b413 AS builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM debian:bullseye-slim@sha256:00558f781b91e90469812bad32002f311ab26ef241b4a1996f6600680ec82f5c
|
||||
RUN apt-get update && apt-get -y install ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /usr/local/cargo/bin/cloudflare-dynamic-dns /usr/local/bin/cloudflare-dynamic-dns
|
||||
CMD ["cloudflare-dynamic-dns"]
|
||||
CMD ["cloudflare-dynamic-dns"]
|
||||
|
||||
Reference in New Issue
Block a user