We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb517a commit ac672c4Copy full SHA for ac672c4
Dockerfile
@@ -32,13 +32,17 @@ COPY . .
32
33
RUN RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release --bin trail
34
35
+
36
FROM alpine:3.20 AS runtime
37
RUN apk add --no-cache tini curl
38
39
COPY --from=builder /app/target/x86_64-unknown-linux-gnu/release/trail /app/
40
41
# When `docker run` is executed, launch the binary as unprivileged user.
42
RUN adduser -D trailbase
43
44
+RUN mkdir -p /app/traildepot
45
+RUN chown trailbase /app/traildepot
46
USER trailbase
47
48
WORKDIR /app
0 commit comments