Skip to content

Commit

Permalink
fixed /app ownership
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Peterson <[email protected]>
  • Loading branch information
mattp-swirldslabs committed Jan 8, 2025
1 parent bbf90be commit 6bf9927
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ RUN groupadd --gid 2000 hedera && \
# Define version
ARG VERSION

#USER hedera

# Set the working directory inside the container
WORKDIR /app

Expand All @@ -87,6 +85,9 @@ COPY logging.properties logging.properties

WORKDIR /

# Ensure proper file permissions
RUN chown -R 2000:2000 /app

# === Workarounds below will not be needed when https://github.com/moby/buildkit/pull/4057 is merged ===
# NOTE: PR #4057 has been merged but will not be available until the v0.13.x series of releases.
# Limit the timestamp upper bound to SOURCE_DATE_EPOCH.
Expand Down

0 comments on commit 6bf9927

Please sign in to comment.