autoconfig test
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -66,15 +66,17 @@ RUN bash -c 'apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoff
|
||||
|
||||
# Delete default stuff
|
||||
#nginx
|
||||
RUN rm -v /etc/nginx/sites-enabled/default /var/www/html/index.nginx-debian.html
|
||||
|
||||
RUN rm -rv /etc/nginx/sites-enabled/default \
|
||||
/var/www/html/index.nginx-debian.html \
|
||||
/etc/php/
|
||||
|
||||
#Autoconfig defaults
|
||||
RUN mkdir /root/default_configs
|
||||
COPY buildfiles/auto_config.sh .
|
||||
COPY buildfiles/nextcloud_nginx.conf /root/default_configs/
|
||||
RUN mkdir -pv default_configs/etc/
|
||||
COPY buildfiles/etc/ default_configs/etc/
|
||||
|
||||
#autostart files
|
||||
COPY buildfiles/auto_config.sh .
|
||||
COPY buildfiles/start_services.sh .
|
||||
RUN chmod +x auto_config.sh
|
||||
RUN chmod +x start_services.sh
|
||||
CMD ["./start_services.sh"]
|
||||
|
Reference in New Issue
Block a user