diff --git a/docker/Dockerfile b/docker/Dockerfile index 36d6b2a8..26a8b7ee 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,7 +17,7 @@ ENV DEBIAN_FRONTEND="noninteractive" \ SPHINX_BIN_TARGZ="sphinx-3.1.1-bin.tar.gz" ADD "https://bitbucket.org/jsuto/piler/downloads/${PACKAGE}" "/${PACKAGE}" -ADD files/start.sh /start.sh +ADD start.sh /start.sh RUN apt-get update && \ apt-get -y --no-install-recommends install \ diff --git a/docker/README b/docker/README new file mode 100644 index 00000000..0065fe4d --- /dev/null +++ b/docker/README @@ -0,0 +1,12 @@ +How to build + + Pick the latest deb package from Bitbucket download page (https://bitbucket.org/jsuto/piler/downloads/) + and use it as the PACKAGE build argument, eg. + + docker build --build-arg PACKAGE=piler_1.3.6~bionic-65cc7eb_amd64.deb -t sutoj/piler . + +How to run the image + + Set the PILER_HOST env variable to match your hostname, eg. + + docker run -d --name piler1 -p 25:25 -p 80:80 -e PILER_HOST=archive.yourdomain.com sutoj/piler