ts3bot/Dockerfile

22 lines
485 B
Docker

FROM node:4.2
ENV TS3CLIENT_VERSION 3.0.18.2
ENV TS3BOT_COMMIT 8fe17abdf8cec65c69cd5d4c479f910301cfe053
# Add "app" user
RUN mkdir -p /tmp/empty &&\
groupadd -g 9999 app &&\
useradd -d /home/app -l -N -g app -m -k /tmp/empty -u 9999 app &&\
rmdir /tmp/empty
ADD setup.sh /
RUN sh /setup.sh
# Copy over configuration for other daemons
COPY etc/ /etc
# Startup configuration
WORKDIR /home/app
USER app
CMD [ "node", "/home/app/ts3bot", "--ts3-install-path=/home/app/ts3client" ]