mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 20:53:17 +00:00
Use podman
This commit is contained in:
parent
32e77a54d5
commit
9c5b4c1540
@ -1,4 +1,4 @@
|
|||||||
FROM node:20-alpine
|
FROM docker.io/node:20-alpine
|
||||||
|
|
||||||
#Dependencies
|
#Dependencies
|
||||||
RUN apk add --virtual .build-deps python3 make g++ gcc git
|
RUN apk add --virtual .build-deps python3 make g++ gcc git
|
||||||
|
13
README.md
13
README.md
@ -10,36 +10,35 @@ This bot is using Gitea repo to get radio stations from [playlist.json](https://
|
|||||||
|
|
||||||
**Production**
|
**Production**
|
||||||
```
|
```
|
||||||
docker build -t warengroup/eximiabots-radiox:latest . --pull
|
podman build -t warengroup/eximiabots-radiox:latest . --pull
|
||||||
```
|
```
|
||||||
|
|
||||||
**Beta**
|
**Beta**
|
||||||
```
|
```
|
||||||
docker build -t warengroup/eximiabots-radiox:latest-beta . --pull
|
podman build -t warengroup/eximiabots-radiox:latest-beta . --pull
|
||||||
```
|
```
|
||||||
|
|
||||||
**Dev**
|
**Dev**
|
||||||
```
|
```
|
||||||
docker build -t warengroup/eximiabots-radiox:latest-dev . --pull
|
podman build -t warengroup/eximiabots-radiox:latest-dev . --pull
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Run Container
|
### 2. Run Container
|
||||||
|
|
||||||
**Production**
|
**Production**
|
||||||
```
|
```
|
||||||
docker run --name radiox --net host -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:latest
|
podman run --name radiox -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
**Beta**
|
**Beta**
|
||||||
```
|
```
|
||||||
docker run --name radiox --net host -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:latest-beta
|
podman run --name radiox -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:latest-beta
|
||||||
```
|
```
|
||||||
|
|
||||||
**Dev**
|
**Dev**
|
||||||
```
|
```
|
||||||
docker run --rm --name radiox-dev --net host -e DISCORD_TOKEN= -e DEV_MODE=true -v "$PWD":/usr/src/app/ warengroup/eximiabots-radiox:latest-dev
|
podman run --rm --name radiox-dev -e DISCORD_TOKEN= -e DEV_MODE=true -v "$PWD":/usr/src/app/ warengroup/eximiabots-radiox:latest-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Join our Discord Server
|
## Join our Discord Server
|
||||||
https://discord.gg/rRA65Mn
|
https://discord.gg/rRA65Mn
|
||||||
|
Loading…
Reference in New Issue
Block a user