Skip to content

Commit b34ff20

Browse files
committed
chore: set user in dockerfile
1 parent f87952e commit b34ff20

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/xtask/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM rust:latest AS base
22

3-
WORKDIR /app
3+
RUN useradd -m appuser
4+
USER appuser
5+
6+
WORKDIR /usr/src/app
47

58
COPY . .
69

0 commit comments

Comments
 (0)