mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-27 08:16:20 +00:00
Fix dev.dockerfile build date.
This commit is contained in:
parent
533a36ffd8
commit
382bb4c492
|
@ -24,7 +24,7 @@ COPY .git .git
|
|||
|
||||
# Set UI version
|
||||
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 build:dev
|
||||
|
|
Loading…
Reference in a new issue