Skip to content

Commit

Permalink
fix(api): fix docker segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
chamburr committed Dec 31, 2022
1 parent 37f7d27 commit 17cbdf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM rust:1.65-alpine AS builder

ENV RUSTFLAGS "-C target-feature=-crt-static"

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

WORKDIR /build
Expand All @@ -17,7 +19,7 @@ RUN cargo build --release

FROM alpine:3.17

RUN apk add --no-cache dumb-init
RUN apk add --no-cache dumb-init libgcc libssl1.1

WORKDIR /app

Expand Down

0 comments on commit 17cbdf2

Please sign in to comment.