Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ RUN yo hubot --owner="$BOT_OWNER" --name="$BOT_NAME" --description="$BOT_DESC" -
sed -i /redis-brain/d ./external-scripts.json && \
npm install hubot-scripts

ADD . /home/hubot/node_modules/hubot-rocketchat

# hack added to get around owner issue: https://github.com/docker/docker/issues/6119
USER root
RUN chown hubot:hubot -R /home/hubot/node_modules/hubot-rocketchat
USER hubot
Comment thread
robbyoconnor marked this conversation as resolved.
COPY --chown=hubot:hubot . /home/hubot/node_modules/hubot-rocketchat

RUN cd /home/hubot/node_modules/hubot-rocketchat && \
npm install && \
Expand Down