Skip to content

Commit

Permalink
Fix: entrypoint.sh permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbologna committed Nov 28, 2024
1 parent 7d965c8 commit fb5d80e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,13 @@ RUN touch /var/run/bitlbee.pid && chown bitlbee:nogroup /var/run/bitlbee.pid

EXPOSE 6667

USER bitlbee

# Define volumes for persistent data
VOLUME ["/var/lib/bitlbee"]

# Needed for VOLUME permissions
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh

# Define volumes for persistent data
VOLUME ["/var/lib/bitlbee"]
USER bitlbee
ENTRYPOINT ["/entrypoint.sh"]

CMD ["/usr/local/sbin/bitlbee", "-D", "-n", "-v", "-u", "bitlbee"]

0 comments on commit fb5d80e

Please sign in to comment.