Merge pull request #60 from The-Alchemist/patch-2

upgrade setup_tools to avoid Python errors
Alexandre Dulaunoy 2019-11-13 20:47:55 +01:00 committed by GitHub
commit e5352c0df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ RUN apt-get install -y python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev
RUN apt-get install -y cron logrotate supervisor syslog-ng-core RUN apt-get install -y cron logrotate supervisor syslog-ng-core
RUN apt-get clean RUN apt-get clean
# update setuptools because otherwise you'' get python errors
RUN pip install --upgrade setuptools
WORKDIR /var/www WORKDIR /var/www
RUN chown www-data:www-data /var/www RUN chown www-data:www-data /var/www
USER www-data USER www-data