From 0c132c8bfc5a8431ce2d0fad96293ee93f91c0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Fri, 5 Feb 2021 09:47:35 +0900 Subject: [PATCH] chore: added debug --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3edb26..56ea7fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,9 +21,11 @@ COPY . /usr/src/app # env to file +RUN env + RUN env > .env.production.local -# RUN printf "NEXT_PUBLIC_COMMIT_HASH=$(git rev-parse HEAD)\nNEXT_PUBLIC_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')" > .env.local +RUN printf "NEXT_PUBLIC_COMMIT_HASH=$(git rev-parse HEAD)\nNEXT_PUBLIC_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')" > .env.local # Building app RUN yarn build