From 4711b069d4b66407fa62aafbacd4293b17411b25 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Sun, 6 Jun 2021 12:37:28 +0300 Subject: [PATCH] fix export cmd --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aca57ab..b400370 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,5 @@ ARG DOMAIN ARG GD_Key ARG GD_Secret -RUN ["export", "${GD_Key}"] -RUN ["export", "${GD_Secret}"] +RUN export ${GD_Key} && export ${GD_Secret} RUN ["acme.sh", "--issue", "--dns", "dns_gd", "-d", "${DOMAIN}", "--reloadcmd", "'/usr/syno/sbin/synoservicecfg --reload httpd-sys'"]