Browse Source

Merge pull request #2130 from infosiftr/nextcloud-fixes

Fix minor issues in nextcloud code blocks
yosifkit 3 years ago
parent
commit
b241523744
1 changed files with 3 additions and 4 deletions
  1. 3 4
      nextcloud/content.md

+ 3 - 4
nextcloud/content.md

@@ -421,11 +421,10 @@ $ docker-compose up -d
 
 A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it. Start your derived image with the `FROM` statement and add whatever you like.
 
-```yaml
+```dockerfile
 FROM %%IMAGE%%:apache
 
 RUN ...
-
 ```
 
 The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
@@ -446,8 +445,8 @@ If you use your own Dockerfile, you need to configure your docker-compose file a
 
 If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
 
-```yaml
-FROM nextcloud:apache
+```dockerfile
+FROM %%IMAGE%%:apache
 
 ...