Skip to content

Commit

Permalink
chore: correct permissions of run
Browse files Browse the repository at this point in the history
  • Loading branch information
chrootlogin committed Sep 28, 2024
1 parent 61a74db commit 19b9b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions freshrss/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ RUN if [[ "${TARGETOS}" != "linux" ]]; then echo "unsupported os: ${TARGETOS}" &
# Disable updating
sed -r -i "\\#disable_update#s#^.*#\t'disable_update' => true,#" /opt/freshrss/config.default.php; \
# Fix permissions
chown -R freshrss:freshrss /opt/freshrss;
chown -R freshrss:freshrss /opt/freshrss; \
chown -R freshrss:freshrss /run;

# Set up user
USER ${USER}
Expand All @@ -90,7 +91,7 @@ WORKDIR /opt/freshrss
# Expose port for FrankenPHP
EXPOSE 8080

VOLUME [ "/run", "/tmp" ]
VOLUME [ "/tmp" ]

# Run s6
ENTRYPOINT ["/init"]
1 change: 0 additions & 1 deletion freshrss/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ services:
- "8080:80"
tmpfs:
- /tmp:uid=2000,gid=2000,mode=0755
- /run:exec,uid=2000,gid=2000,mode=0755

volumes:
freshrss_data:

0 comments on commit 19b9b09

Please sign in to comment.