mirror of
https://github.com/insomniafi/insomniaid-bot.git
synced 2024-12-23 12:53:19 +00:00
25 lines
656 B
Markdown
25 lines
656 B
Markdown
# Insomnia ID - Bot
|
|
|
|
## Description
|
|
Verkkopeliyhdistys Insomnia ry - Identity Bot
|
|
|
|
## Commands
|
|
|
|
### Build Image
|
|
|
|
`podman build -t ghcr.io/insomniafi/insid-bot . --format docker --no-cache`
|
|
|
|
### 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`
|