Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
legokichi committed May 8, 2023
1 parent b56a835 commit fa4d5df
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ COPY Cargo.toml .
COPY Cargo.lock .

RUN cargo build --release
RUN pwd
RUN ls -la /home/rust/src
RUN ls -la /home/rust/src/target
RUN ls -la /home/rust/src/target/release
RUN strip /home/rust/src/target/release/gatekeeperd
RUN strip /target/release/gatekeeperd

FROM scratch

COPY --from=builder /home/rust/src/target/release/gatekeeperd /
COPY --from=builder /target/release/gatekeeperd /

EXPOSE 1080

Expand Down

0 comments on commit fa4d5df

Please sign in to comment.