From 24f310eb6c3b13f41627a07f83d3cf2a7d4e37ff Mon Sep 17 00:00:00 2001 From: hgw Date: Thu, 5 Oct 2023 00:24:37 +0000 Subject: [PATCH] Switch to Docker image rather than building --- .dockerignore | 2 ++ README.md | 2 +- docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index f33467d..ccac01d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,5 @@ +.git/ +files/ Dockerfile docker-compose.yml .gitignore diff --git a/README.md b/README.md index 29f630b..adb5631 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index eb795e4..f314f99 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"