diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..38491cd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM debian:jessie + +RUN apt-get update && apt-get -y install \ + libgnutls-deb0-28 \ + gnutls-bin + +COPY inspircd /inspircd +RUN useradd ircd +RUN chown -R ircd /inspircd/data /inspircd/logs + +VOLUME [ "/inspircd/conf", "/inspircd/logs" ] + +EXPOSE 6664 +EXPOSE 6667 +EXPOSE 6697 + +CMD [ "/bin/su", "-m", "ircd", "-c", "/inspircd/inspircd start --nofork" ] |