add symlink for Playlists directory
This commit is contained in:
parent
cecfea040c
commit
b7b65d28ac
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
FROM bitnami/minideb:latest
|
FROM bitnami/minideb:latest
|
||||||
|
|
||||||
RUN install_packages openjdk-11-jre-headless wget curl grep \
|
RUN install_packages openjdk-11-jre-headless wget curl grep \
|
||||||
&& mkdir -p /app/Playlists \
|
&& mkdir /app \
|
||||||
&& mkdir -p /config/Playlists \
|
&& mkdir -p /config/Playlists \
|
||||||
&& ln -s /config/Playlists /app/Playlists \
|
&& ln -s /config/Playlists /app/Playlists \
|
||||||
&& ln -s /config/serversettings.json /app/serversettings.json
|
&& ln -s /config/serversettings.json /app/serversettings.json
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@
|
||||||
Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Minideb image for a small footprint.
|
Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Minideb image for a small footprint.
|
||||||
|
|
||||||
## Usage
|
## 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
|
```bash
|
||||||
docker exec -it jmusicbot /bin/sh
|
docker exec -it jmusicbot /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue