Add docker support
This commit is contained in:
parent
14b171b1c3
commit
35f99f5e0e
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
irc_config.yaml
|
||||||
|
/ircie
|
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM rust:bookworm
|
||||||
|
WORKDIR /app
|
||||||
|
RUN mkdir save
|
||||||
|
RUN git clone https://github.com/ayywrk/ircie
|
||||||
|
COPY . .
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/hardfight"]
|
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
hardfight:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- "$PWD/irc_config.yaml:/app/irc_config.yaml"
|
||||||
|
- "$PWD/save:/app/save"
|
Loading…
Reference in New Issue
Block a user