Fixed docker container linking

This commit is contained in:
2023-07-06 10:59:41 -04:00
parent f94b3fe419
commit a352341d3d
8 changed files with 29 additions and 38 deletions

View File

@@ -21,8 +21,8 @@ https://discord.com/api/oauth2/authorize?client_id=<CLIENT_ID>&permissions=40671
- The CLIENT_ID can be found in the General Information tab on the Discord Developer Portal for your application, under `Application ID`
1. Copy `.env.TEMPLATE` to `.env` and fill out the fields
2. Start the application with `docker compose up -d`
- Requires [Docker](https://www.docker.com/)
2. Build the [Docker](https://www.docker.com/) application with `make build`
3. Start the application with `make up`
## Contributing
[Rust](https://www.rust-lang.org/) must be installed to run locally. See [serenity-rs/serenity](https://github.com/serenity-rs/serenity) for more information about Rust Discord API Library.
@@ -40,6 +40,6 @@ Begin the application with `cargo run`
The application can also be tested from within a Docker container:
```
docker build -t siren .
docker build -t siren:latest .
docker run --env-file .env -it --rm --name siren siren:latest
```