2024-10-31 23:27:30 +00:00
|
|
|
# Insomnia ID - Bot
|
|
|
|
|
|
|
|
## Description
|
|
|
|
Verkkopeliyhdistys Insomnia ry - Identity Bot
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
### Build Image
|
|
|
|
|
2024-11-01 02:26:29 +00:00
|
|
|
`podman build -t ghcr.io/insomniafi/insid-bot . --format docker --no-cache`
|
2024-10-31 23:27:30 +00:00
|
|
|
|
|
|
|
### 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`
|
|
|
|
|
2024-10-31 23:56:28 +00:00
|
|
|
### Run Container (Dev Mode)
|
|
|
|
|
2024-11-01 00:07:34 +00:00
|
|
|
`podman run --rm --name insid-bot -it -e DISCORD_TOKEN= -v "$PWD":/usr/src/app/ ghcr.io/insomniafi/insid-bot npm run start:dev`
|
2024-10-31 23:56:28 +00:00
|
|
|
|
2024-10-31 23:27:30 +00:00
|
|
|
### Update Dependencies
|
2024-10-31 23:56:28 +00:00
|
|
|
`podman run --rm --name insid-bot -it -e DISCORD_TOKEN= -v "$PWD":/usr/src/app/ ghcr.io/insomniafi/insid-bot npm update`
|