add docker
This commit is contained in:
parent
52829873e1
commit
7de0fedfd1
2 changed files with 11 additions and 0 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rust:slim-trixie
|
||||||
|
WORKDIR /jon
|
||||||
|
CMD ["cargo", "run"]
|
8
compose.yml
Normal file
8
compose.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
services:
|
||||||
|
jon:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- .:/jon
|
||||||
|
environment:
|
||||||
|
- TOKEN=changeme!
|
||||||
|
restart: always
|
Loading…
Add table
Add a link
Reference in a new issue