mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 07:16:40 +00:00
Formatting of run commands
This commit is contained in:
parent
0764313e8e
commit
a2100f3fbb
@ -58,9 +58,20 @@ You can also run your own bot super easily in a [Docker](https://hub.docker.com/
|
||||
1. Download the repository.
|
||||
2. Change information in [Credentials.py]() with your own Telegram Bot key, which can be found [here.]()
|
||||
3. Navigate to /bot directory in Powershell
|
||||
4. Build an image of the bot:
|
||||
`docker build -t stockbot .`
|
||||
4. Build an image of the bot:
|
||||
|
||||
```powershell
|
||||
docker build -t stockbot .
|
||||
```
|
||||
|
||||
5. Run the image:
|
||||
`docker run -it --rm --detatch --name stockbot stockbot`
|
||||
|
||||
```powershell
|
||||
docker run -it --rm --detatch --name stockbot stockbot
|
||||
```
|
||||
|
||||
6. Or you can run the image headless:
|
||||
`docker run -it --rm --detatch --name stockbot stockbot`
|
||||
|
||||
```powershell
|
||||
docker run -it --rm --detatch --name stockbot stockbot
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user