This commit is contained in:
Adrien le Maire 2020-09-12 13:01:25 +02:00
parent 74e4426c31
commit 61accc8030

View File

@ -17,11 +17,12 @@ RUN mkdir -p /var/www/ /run/apache2/
ARG VERSION
ARG SRC=https://github.com/FreshRSS/FreshRSS/archive/${VERSION}.tar.gz
RUN wget $SRC && tar -xf ${VERSION}.tar.gz && rm {VERSION}.tar.gz && \
RUN wget ${SRC} && tar -xf ${VERSION}.tar.gz && rm ${VERSION}.tar.gz && \
mv FreshRSS-${VERSION} /var/www/FreshRSS && \
mv /var/www/FreshRSS/Docker/FreshRSS.Apache.conf /etc/apache2/sites-available/ && \
sed -i "s/\:80/\:8080/" /etc/apache2/sites-available/FreshRSS.Apache.conf && \
sed -i "s/OS/Prod/" /etc/apache2/sites-available/FreshRSS.Apache.conf && \
sed -i "s/OS/Prod/" /etc/apache2/sites-available/FreshRSS.Apache.conf
ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN a2dismod -f alias autoindex negotiation status && \