chore: added debug

This commit is contained in:
원더 2021-02-05 09:47:35 +09:00
parent 30a4ae63c5
commit 0c132c8bfc

View File

@ -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