mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
chore: setup .env file
This commit is contained in:
parent
2ac365ebe8
commit
122a4acec1
@ -19,9 +19,11 @@ RUN yarn install
|
|||||||
# Copying source files
|
# Copying source files
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
|
|
||||||
# public env
|
# env to file
|
||||||
|
|
||||||
RUN printf "NEXT_PUBLIC_TESTER_KEY=9f9c4a7ae9afeb045fe818ed8b741c70b1d25ec236b189566a0db020c5596441\nNEXT_PUBLIC_COMMIT_HASH=$(git rev-parse HEAD)\nNEXT_PUBLIC_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')" > .env.local
|
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
|
||||||
|
|
||||||
# Building app
|
# Building app
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user