File size: 336 Bytes
d0b3ac3 |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM nextcloud
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
EXPOSE 8080
RUN sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf && \
sed -i 's/:80/:8080/' /etc/apache2/sites-available/000-default.conf
RUN chmod 755 /var/log/apache2 && chown -R www-data:www-data /var/log/apache2
CMD ["apache2-foreground"] |