add symlink for Playlists directory

This commit is contained in:
josh 2021-10-08 17:01:58 -05:00
parent cecfea040c
commit b7b65d28ac
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
FROM bitnami/minideb:latest
RUN install_packages openjdk-11-jre-headless wget curl grep \
&& mkdir -p /app/Playlists \
&& mkdir /app \
&& mkdir -p /config/Playlists \
&& ln -s /config/Playlists /app/Playlists \
&& ln -s /config/serversettings.json /app/serversettings.json

View file

@ -6,10 +6,10 @@
Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Minideb image for a small footprint.
## Usage
Place your **config.txt** in `yourpath/toconfig` to map it to the container. The config folder will also contain the `Playlists` directory and `serversettings.json` if it exists. If you need to access the container you can hop into it and get a shell using:
Place your **config.txt** and **Playlists** folder in `yourpath/toconfig` to map it to the container. The config folder will also contain the `serversettings.json` if it exists. If you need to access the container you can hop into it and get a shell using:
```bash
docker exec -it jmusicbot /bin/sh
docker exec -it jmusicbot /bin/bash
```
---