From 5fb14bd205250e89f8f729109b5fcae591790002 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 9 Apr 2023 20:29:08 +0500 Subject: [PATCH] docker to use .env --- README.md | 2 +- docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab7f57a..b93aa66 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A Telegram bot that lets you interact with the Bing AI from chats that you allow **> To start using this project using Docker,** - Run `docker compose -f .build/docker-compose.yml build` to build the container -- TODO +- Create a `.env` file or set environment variables according to the reference file `.env.example` - Run `docker compose up -d` to start the bot. **> To enable Telegram command autocompletion,** diff --git a/docker-compose.yml b/docker-compose.yml index 7975f9d..1d33042 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,6 @@ services: ######################### bing-tg: hostname: bing-tg - image: bing-tg - volumes: - - ./variables.ts:/root/variables.ts + image: git.shihaam.dev/dockerfiles/bing-chat-telegram + env_file: + - .env