Docker changes (#29)

* Update README.md

I needed to change 
-v .env:.env 
to
-v .env:/.env
to get it to work.
Docker (Linux) was not happy otherwise.

* Update Dockerfile

Added cmake to Dockerfile, so Pi4 (ARM chip) will work.

* Update README.md

Corrected volume mount
This commit is contained in:
Arman The Parman 2024-02-14 06:41:06 +11:00 committed by GitHub
parent 1bf32d075a
commit d486c778a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ RUN apt-get update \
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3 \
build-essential \
cmake \
&& apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /build

View File

@ -56,7 +56,7 @@ $ docker build -t public-pool .
Run container:
```bash
$ docker container run --name public-pool --rm -p 3333:3333 -p 3334:3334 -p 8332:8332 -v .env:.env public-pool
$ docker container run --name public-pool --rm -p 3333:3333 -p 3334:3334 -p 8332:8332 -v .env:/public-pool/.env public-pool
```
### Docker Compose