Skip to content

Commit

Permalink
fixup! Issue #74 Dockerfile: give openeo user log permissions on /var…
Browse files Browse the repository at this point in the history
…/log/openeo
  • Loading branch information
soxofaan committed Sep 27, 2023
1 parent 7ae8db5 commit 88d647e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN echo "[global]" >> $PIP_CONF && \

RUN useradd --create-home openeo

# Directory for output logs
RUN mkdir -p /var/log/openeo
RUN chown openeo:openeo /var/log/openeo

# Build and run as non-root (see https://pythonspeed.com/articles/root-capabilities-docker-security/)
Expand Down

0 comments on commit 88d647e

Please sign in to comment.