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..97a173a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM rusian/hyperbola:0.4 +LABEL MAINTAINER="heckyel@hyperbola.info" + +RUN pacman -Syu --noconfirm && pacman -S --noconfirm \ + nginx rsync cronie util-linux findutils + +RUN pacman -Scc --noconfirm + +RUN mkdir /srv/repo + +COPY entrypoint.bash / +RUN chmod u+x /entrypoint.bash + +VOLUME /srv/repo +EXPOSE 80 + +ENTRYPOINT ["/entrypoint.bash"] |