Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 89f6e66

Browse files
committed
support running as non-root
1 parent 66ec203 commit 89f6e66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ RUN gb build
1212
FROM alpine
1313

1414
# We need this otherwise we don't have a good list of CAs
15-
RUN apk --update add ca-certificates
15+
RUN apk --update add ca-certificates && mkdir /opt/matrix-static
1616

17-
WORKDIR /root/
17+
WORKDIR /opt/matrix-static/
1818
COPY --from=0 /src/bin/* /bin/
1919

2020
CMD ["matrix-static"]

0 commit comments

Comments
 (0)