mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 13:34:28 -04:00
enhancement: remove frontend version
As frontend and backend are managed inside a monorepo and distributed together, there is no sense in keeping separate frontend and backend version information. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
d19d048cc8
commit
bced0c478b
11 changed files with 23 additions and 101 deletions
|
@ -13,7 +13,6 @@ FROM base AS builder
|
|||
RUN apk add --no-cache libc6-compat
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ARG BUILD_VERSION=CLIENT_VERSION_MISSING
|
||||
|
||||
ENV YARN_CACHE_FOLDER=/tmp/.yarn
|
||||
USER node
|
||||
|
@ -29,7 +28,6 @@ ARG TURBO_TOKEN
|
|||
|
||||
RUN rm -rf frontend/public/public
|
||||
RUN rm -rf frontend/src/pages/api
|
||||
RUN sed -i "s/CLIENT_VERSION_MISSING/${BUILD_VERSION}/" frontend/src/version.json
|
||||
RUN yarn turbo run build --filter=frontend --no-cache --no-daemon
|
||||
|
||||
# RUNNER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue