Browse Source

update alpine version in Dockerfile

master
Colin Reeder 2 years ago
parent
commit
16a47802c7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -1,11 +1,11 @@
FROM alpine:3.9 AS builder
FROM alpine:3.12 AS builder
RUN apk add --no-cache rust cargo openssl-dev
WORKDIR /usr/src/crepo
COPY Cargo.* ./
COPY src ./src
RUN cargo build --release

FROM alpine:3.9
FROM alpine:3.12
RUN apk add --no-cache libgcc openssl
COPY --from=builder /usr/src/crepo/target/release/crepo /usr/bin/
CMD ["crepo"]

Loading…
Cancel
Save