Skip to content

Commit 0a46282

Browse files
committed
fix: add git_rev arg to dockerfile
1 parent 02e8d4a commit 0a46282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ COPY . /app/
1313
RUN --mount=type=cache,id=roses-scheduler-yarn,target=.yarn/cache yarn install --immutable --inline-builds
1414

1515
ENV NODE_ENV=production
16+
ARG GIT_REV
17+
ENV GIT_REV=$GIT_REV
1618
RUN SKIP_ENV_VALIDATION=1 PUBLIC_URL="http://localhost:3000" yarn run build
1719

1820
FROM base

0 commit comments

Comments
 (0)