Merge pull request #33 from amnesiacsardine/patch-1

Update to README.MD regarding Dockerfile
This commit is contained in:
Dániel Szabó 2022-07-18 00:05:56 +01:00 committed by GitHub
commit 556f4e87df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,13 @@ services:
volumes:
- ./microbin-data:/usr/local/bin/pasta_data
```
To pass command line arguments you must edit the Dockerfile and change the CMD line. In this example we add the syntax highlighting option and enable private pastas:
```
CMD ["microbin", "--highlightsyntax", "--private"]
```
You then need to rebuild the image and recreate your container.
**Note:** If you are getting the following error about domain name resolution: