mirror of
https://github.com/insomniafi/insomniaid-bot.git
synced 2024-11-22 23:41:32 +00:00
25 lines
629 B
Markdown
25 lines
629 B
Markdown
# Insomnia ID - Bot
|
|
|
|
## Description
|
|
Verkkopeliyhdistys Insomnia ry - Identity Bot
|
|
|
|
## Commands
|
|
|
|
### Build Image
|
|
|
|
`podman build -t ghcr.io/insomniafi/insid-bot .`
|
|
|
|
### Publish Image
|
|
`podman push ghcr.io/insomniafi/insid-bot`
|
|
|
|
### Run Container
|
|
|
|
`podman run --name insid-bot -d -e DISCORD_TOKEN= ghcr.io/insomniafi/insid-bot`
|
|
|
|
### Run Container (Dev Mode)
|
|
|
|
`podman run --rm --name insid-bot -it -e DISCORD_TOKEN= -v "$PWD":/usr/src/app/ ghcr.io/insomniafi/insid-bot npm run start:dev`
|
|
|
|
### Update Dependencies
|
|
`podman run --rm --name insid-bot -it -e DISCORD_TOKEN= -v "$PWD":/usr/src/app/ ghcr.io/insomniafi/insid-bot npm update`
|