mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-17 13:21:43 +01:00
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:
parent
1bf32d075a
commit
d486c778a3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user