unpin alpine version in dockerfile

mime-types-and-security
neri 7 months ago
parent d340db3b51
commit 166d2e09ba
  1. 4
      Dockerfile

@ -1,4 +1,4 @@
FROM rust:alpine3.14 as builder
FROM rust:alpine as builder
WORKDIR /app
RUN apk add musl-dev
@ -18,7 +18,7 @@ RUN strip /app/target/x86_64-unknown-linux-musl/release/datatrash
FROM alpine:3.14
FROM alpine
WORKDIR /opt/datatrash
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/datatrash ./

Loading…
Cancel
Save