Browse Source

Change owner at point of copy

master
Anthony Perkins 9 months ago
parent
commit
eabb9c5905
  1. 3
      Dockerfile

3
Dockerfile

@ -3,7 +3,6 @@ RUN dnf --refresh install -y weechat && \
dnf clean all && \
useradd -c IRC -d /home/irc -m -U irc
WORKDIR /home/irc
COPY irc.conf .weechat/irc.conf
RUN chown -R irc: .
COPY --chown=irc irc.conf .weechat/irc.conf
USER irc
CMD /usr/bin/weechat

Loading…
Cancel
Save