mirror of
https://github.com/diced/zipline.git
synced 2026-04-28 10:43:06 -07:00
feat: expose git sha in versioning api
This commit is contained in:
@@ -42,6 +42,7 @@ COPY --from=builder /zipline/mimes.json ./mimes.json
|
||||
COPY --from=builder /zipline/code.json ./code.json
|
||||
COPY --from=builder /zipline/generated ./generated
|
||||
|
||||
|
||||
RUN pnpm build:prisma
|
||||
|
||||
# clean
|
||||
@@ -49,4 +50,7 @@ RUN rm -rf /tmp/* /root/*
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
ARG ZIPLINE_GIT_SHA
|
||||
ENV ZIPLINE_GIT_SHA=${ZIPLINE_GIT_SHA:-"unknown"}
|
||||
|
||||
CMD ["node", "--enable-source-maps", "build/server"]
|
||||
|
||||
Reference in New Issue
Block a user