Fix dev.dockerfile build date.

This commit is contained in:
Dessalines 2024-01-22 09:07:56 -05:00
parent 533a36ffd8
commit 382bb4c492

View file

@ -24,7 +24,7 @@ COPY .git .git
# Set UI version # Set UI version
RUN echo "export const VERSION = 'dev';" > "src/shared/version.ts" RUN echo "export const VERSION = 'dev';" > "src/shared/version.ts"
RUN echo "export const BUILD_DATE_ISO8601 = 'dev-build-date';" > "src/shared/build-date.ts" RUN echo "export const BUILD_DATE_ISO8601 = '$(date -u +"%Y-%m-%dT%H:%M:%SZ")';" > "src/shared/build-date.ts"
RUN yarn --prefer-offline RUN yarn --prefer-offline
RUN yarn build:dev RUN yarn build:dev