pass the commit hash through
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 33s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 33s
This commit is contained in:
@ -21,6 +21,10 @@ WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
# Get the git commit hash
|
||||
ARG GIT_REV
|
||||
ENV GIT_REV ${GIT_REV}
|
||||
|
||||
# Set the environment to production
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
Reference in New Issue
Block a user