Skip to content
Snippets Groups Projects
Commit db54f1d0 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

dockerfile for server deployment

parent a8744a8c
No related branches found
No related tags found
No related merge requests found
from python:3
# don't be root inside the container
RUN adduser --disabled-password --gecos '' errbot
# install requirements (do this bit first)
ADD requirements.txt /home/errbot/
RUN pip install -r /home/errbot/requirements.txt
# copy bot code to it's new home
USER errbot
RUN mkdir -p /home/errbot/bot/ /home/errbot/bot/log
WORKDIR /home/errbot/bot/
ADD bot /home/errbot/bot/
VOLUME ["/home/errbot/data", "/home/errbot/plugins"]
CMD ["errbot"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment