Skip to content

Commit

Permalink
test: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vann-Dev committed Dec 16, 2023
1 parent 35ea698 commit bc1f823
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM rust:1-alpine as build
FROM rust:1.74.1-slim as build

WORKDIR /tmp/build

COPY . .

RUN apk add --no-cache musl-dev pkgconfig openssl-dev

RUN cargo build --release

FROM alpine:3.19
FROM rust:1.74.1-slim

COPY --from=build /target/release/image-proxy .

Expand Down

0 comments on commit bc1f823

Please sign in to comment.