Skip to content

Commit cd869a0

Browse files
committed
fix dockerfile perms again
1 parent 2b24483 commit cd869a0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ RUN groupadd --gid ${USER_GID} mmoreuser \
3232
&& useradd --uid ${USER_UID} --gid ${USER_GID} -m mmoreuser
3333

3434
WORKDIR /app
35+
RUN chown -R mmoreuser:mmoreuser /app
36+
37+
USER mmoreuser
38+
3539
RUN python3 -m venv .venv \
3640
&& .venv/bin/pip install --no-cache-dir uv
3741

@@ -43,6 +47,4 @@ RUN .venv/bin/uv pip install --no-cache ${UV_ARGUMENTS} -e .
4347
ENV PATH="/app/.venv/bin:$PATH"
4448
ENV DASK_DISTRIBUTED__WORKER__DAEMON=False
4549

46-
USER mmoreuser
47-
4850
ENTRYPOINT ["/bin/bash"]

0 commit comments

Comments
 (0)