Skip to content

Commit

Permalink
Add Dockerfile and docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadamcik committed May 5, 2024
1 parent 5636229 commit 9235634
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM alpine

RUN apk update
RUN apk add build-base python3 python3-dev rust cargo

WORKDIR /var/data
COPY . .

ENTRYPOINT ["tail", "-f", "/dev/null"]
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3.9'
services:
chia_rs:
build: .
container_name: chia_rs
volumes:
- .:/var/data
- /var/data/target/

0 comments on commit 9235634

Please sign in to comment.