Greg-House commited on
Commit
ddf3fb5
·
verified ·
1 Parent(s): 61adf9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -1 +1,8 @@
1
- FROM nextcloud:latest
 
 
 
 
 
 
 
 
1
+ FROM nextcloud:latest
2
+
3
+ # Change the Apache listening port from 80 to 8080
4
+ RUN sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf && \
5
+ sed -i 's/:80/:8080/' /etc/apache2/sites-available/000-default.conf
6
+
7
+ # (Optional) Update the user to run as non-root if that was your goal
8
+ # USER www-data