Fix config.json thing for the Docker container

This commit is contained in:
2025-12-30 03:19:24 +01:00
parent 71f3be080e
commit 61c1e3f796
2 changed files with 8 additions and 3 deletions

View File

@@ -1,12 +1,10 @@
FROM brainboxdotcc/dpp:latest FROM brainboxdotcc/dpp:latest
WORKDIR /usr/src/airi WORKDIR /usr/src/airi
COPY . . COPY . .
WORKDIR /usr/src/airi/build WORKDIR /usr/src/airi/build
RUN cmake .. RUN cmake ..
RUN make -j$(nproc) RUN make -j$(nproc)
ENTRYPOINT [ "/usr/src/airi/build/airi" ] ENTRYPOINT [ "./airi" ]

View File

@@ -21,3 +21,10 @@ Start the bot:
cd build cd build
./airi ./airi
``` ```
```bash
docker build -t airi .
docker run -d \
--name airi-container \
-v $(pwd)/config.json:/usr/src/airi/config.json \
airi
```