mirror of
https://github.com/uditkarode/bing-chat-telegram.git
synced 2025-02-21 16:52:12 +00:00
feat: switch to docker.io
image
This commit is contained in:
parent
8debe479be
commit
1eb84dd8dd
@ -6,4 +6,4 @@ services:
|
||||
context: ..
|
||||
dockerfile: .build/Dockerfile
|
||||
hostname: bing-tg
|
||||
image: git.shihaam.dev/dockerfiles/bing-chat-telegram
|
||||
|
||||
|
@ -9,14 +9,7 @@ A Telegram bot that lets you interact with the Bing AI from chats that you allow
|
||||
- Run `yarn dev` or `yarn build && yarn start` to start the bot.
|
||||
|
||||
**> To start using this project using Docker,**
|
||||
###### >> on dev
|
||||
- Git clone and cd into cloned dir
|
||||
- Run `docker compose -f .build/docker-compose.yml build` to build the container.
|
||||
- Create a `.env` file or set environment variables according to the reference file `.env.example`
|
||||
- Run `docker compose up -d` to start the bot.
|
||||
- Run `docker compose -f .build/docker-compose.yml push` to push container to registry.
|
||||
###### >> on prod
|
||||
- Create `docker-compose.yml` with the content from `docker-compose.yml` in repo.
|
||||
- Obtain `docker-compose.yml` from this repository.
|
||||
- Create `.env` with the required variables (see [.env.example](https://github.com/uditkarode/bing-chat-telegram/blob/master/.env.example)).
|
||||
- Run `docker compose up -d` to start the bot.
|
||||
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
#########################
|
||||
bing-tg:
|
||||
hostname: bing-tg
|
||||
image: git.shihaam.dev/dockerfiles/bing-chat-telegram
|
||||
image: uditkarode/bing-chat-telegram
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
|
Loading…
x
Reference in New Issue
Block a user