Skip to content

Commit

Permalink
fix: fix permission issue
Browse files Browse the repository at this point in the history
/home/off/.cache was owned by root.
By creating the folder in the Dockerfile, we make sure the owner is off.
  • Loading branch information
raphael0202 committed Aug 20, 2024
1 parent 7ad258c commit c6e566a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ARG USER_GID=$USER_UID
RUN groupadd -g $USER_GID off && \
useradd -u $USER_UID -g off -m off && \
mkdir -p /home/off && \
mkdir -p /home/off/.cache && \
mkdir -p /opt/open-prices && \
mkdir -p /opt/open-prices/data && \
mkdir -p /opt/open-prices/img && \
Expand Down

0 comments on commit c6e566a

Please sign in to comment.