Move the REPO and WEBROOT vars to the Dockerfile since that's the only place they're needed. Dir is getting created successfully now.
This commit is contained in:
@@ -8,13 +8,13 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
network: host
|
||||
args:
|
||||
WEBROOT: ${WEBROOT}
|
||||
REPO: ${REPO}
|
||||
#args:
|
||||
# WEBROOT: "/var/www/html"
|
||||
# REPO: "/root/fdroid"
|
||||
restart: always
|
||||
environment:
|
||||
- WEBROOT=/var/www/html
|
||||
- REPO=/root/fdroid
|
||||
- WEBROOT="/var/www/html"
|
||||
- REPO="/root/fdroid"
|
||||
- FILE0=$FILE0
|
||||
- FILE1=$FILE1
|
||||
- FILE2=$FILE2
|
||||
|
||||
Reference in New Issue
Block a user