Skip to content

Commit

Permalink
Fix Dockerfile context
Browse files Browse the repository at this point in the history
  • Loading branch information
containerscrew committed Nov 29, 2024
1 parent 998da68 commit 63f3678
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 63f3678

Please sign in to comment.