diff --git a/deployment/docker/standalone/Dockerfile b/deployment/docker/standalone/Dockerfile index 6b2995d3c4..3915fce4fe 100644 --- a/deployment/docker/standalone/Dockerfile +++ b/deployment/docker/standalone/Dockerfile @@ -1,6 +1,6 @@ FROM debian:jessie -RUN apt-get update && apt-get install -y supervisor python3 git python3-pip \ +RUN apt-get update && apt-get install -y python3 git python3-pip \ libxml2-dev libxslt1-dev python-dev python-virtualenv locales libffi-dev \ build-essential python3-dev zlib1g-dev libssl-dev npm gettext git \ libpq-dev libmysqlclient-dev libmemcached-dev \ @@ -18,7 +18,6 @@ ENV LC_ALL C.UTF-8 RUN apt-get clean && rm -rf /var/lib/apt/lists/* -ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD gunicorn_starter.bash /gunicorn_starter.bash RUN git clone --recursive --depth 1 https://github.com/pretix/pretix.git /pretix @@ -36,6 +35,8 @@ RUN mkdir /etc/pretix RUN mkdir /data VOLUME /etc/pretix +RUN chmod +x /gunicorn_starter.bash + EXPOSE 80 -CMD ["/usr/bin/supervisord"] +CMD ["/gunicorn_starter.bash"] diff --git a/deployment/docker/standalone/supervisord.conf b/deployment/docker/standalone/supervisord.conf deleted file mode 100644 index 72e2c78055..0000000000 --- a/deployment/docker/standalone/supervisord.conf +++ /dev/null @@ -1,5 +0,0 @@ -[supervisord] -nodaemon=true - -[program:gunicorn] -command=/bin/bash /gunicorn_starter.bash