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-13 14:41:06 -05:00
committed by GitHub
parent 1bf32d075a
commit d486c778a3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ RUN apt-get update \
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3 \ python3 \
build-essential \ build-essential \
cmake \
&& apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /build WORKDIR /build
+1 -1
View File
@@ -56,7 +56,7 @@ $ docker build -t public-pool .
Run container: Run container:
```bash ```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 ### Docker Compose