fix missing bracket on translation tag on software.html, split up environment setup in dockerfile to trade a little space for a lot of time

This commit is contained in:
idk
2023-04-29 16:50:58 +00:00
parent fff7c1f9ec
commit 23eb1c5489
2 changed files with 6 additions and 5 deletions

View File

@@ -2,15 +2,16 @@ FROM debian:buster
ENV SERVERNAME=geti2p.net
ENV SERVERMAIL=example@geti2p.net
ADD . /var/www/i2p.www
WORKDIR /var/www/i2p.www
## Install the dependencies
RUN apt-get update && \
apt-get -y install apache2 apache2-utils libapache2-mod-wsgi python2-dev python-pip patch python-virtualenv git python-polib && \
apt-get -y install apache2 apache2-utils libapache2-mod-wsgi python2-dev python-pip patch python-virtualenv git python-polib
ADD . /var/www/i2p.www
## Start setting up the site
rm -rfv env && \
RUN rm -rfv env && \
virtualenv --distribute env && \
. env/bin/activate && \
pip install -r etc/reqs.txt && \