Hi,
I’ve build a custom Dockerfile on top of nextcloud:latest to change the default ports to 10000:
FROM nextcloud:latest
COPY apache2/ports.conf /etc/apache2/ports.conf
COPY apache2/000-default.conf /etc/apache2/sites-available/000-default.conf
RUN service apache2 restart
CMD apachectl -D FOREGROUND
The apache config files are the same from the official nextcloud:latest image except the change port from 80 to 10000.
The container starts, but if I open the link:
www.domain.tld/nextcloud the result is the following error message:
# Not Found
The requested URL /nextcloud was not found on this server.
Apache/2.4.25 (Debian) Server at domain.tld Port 10000
If I check the directory /var/www/html within the running container,
I see that it is empty.
What is my misunderstanding here?
Thanks a lot for your support
LG