From 63f367871f213b26592dbc0acd105f5da23a4e47 Mon Sep 17 00:00:00 2001 From: containerscrew Date: Fri, 29 Nov 2024 10:32:20 +0100 Subject: [PATCH] Fix Dockerfile context --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90bf1cc..d70b0d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM docker.io/rust:1.80-bullseye as build WORKDIR /app -COPY .. /app +COPY . /app RUN cargo build --release FROM gcr.io/distroless/cc-debian12 WORKDIR /app COPY --from=build /app/target/release/iproxy /app/iproxy -COPY ../config.toml /app/config.toml +COPY config.toml /app/config.toml EXPOSE 8000 -CMD ["./iproxy"] +CMD ["./iproxy"] \ No newline at end of file