Switch to Docker image rather than building

This commit is contained in:
hgw 2023-10-05 00:24:37 +00:00
parent e3e75e7b0b
commit 24f310eb6c
Signed by: hgw
SSH Key Fingerprint: SHA256:diG7RVYHjd3aDYkZWHYcBJbImu+6zfptuUP+3k/wol4
3 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
.git/
files/
Dockerfile
docker-compose.yml
.gitignore

View File

@ -34,7 +34,7 @@ mkdir files
Execute the following commands to build and initiate HardFiles in Docker:
```
docker compose up -d --build
docker compose up -d
```
#### 3. Default Port:

View File

@ -1,7 +1,7 @@
services:
hardfiles:
container_name: hardfiles
build: .
image: git.supernets.org/supernets/hardfiles:latest
volumes:
- "$PWD/files:/app/files"
- "$PWD/www:/app/www"