Skip to content

Commit 18ebb91

Browse files
committed
Update Dockerfile
1 parent a71330a commit 18ebb91

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

xpost/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ COPY ./xpost /app
2929
RUN --mount=type=cache,target=/root/.cache/uv \
3030
uv sync --locked --no-dev
3131

32+
RUN adduser -D -u 1000 app && \
33+
chown -R app:app /app
34+
35+
USER app
36+
3237
# Place executables in the environment at the front of the path
3338
ENV PATH="/app/.venv/bin:$PATH"
3439

0 commit comments

Comments
 (0)