mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-10 15:47:32 +00:00
Pin node version to 18.19 to prevent ordering diff between backend and frontend
This commit is contained in:
parent
ff21d31f5f
commit
e1ca40de51
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
FROM node:18-bullseye as base
|
# Pin the version to 18.19 instead of 18 because somehow the ordering of utf-8 chars
|
||||||
|
# has changed in 18.20.0 which breaks the ordering compatibility between the frontend
|
||||||
|
# and the backend.
|
||||||
|
FROM node:18.19-bullseye as base
|
||||||
|
|
||||||
ARG UID
|
ARG UID
|
||||||
ENV UID=${UID:-9999}
|
ENV UID=${UID:-9999}
|
||||||
|
@ -63,7 +66,7 @@ COPY --chown=$UID:$GID ./tests /baserow/tests/
|
||||||
|
|
||||||
# Create symlinks for jest tests
|
# Create symlinks for jest tests
|
||||||
RUN ln -s /baserow/web-frontend/node_modules/ /baserow/premium/web-frontend/node_modules \
|
RUN ln -s /baserow/web-frontend/node_modules/ /baserow/premium/web-frontend/node_modules \
|
||||||
&& ln -s /baserow/web-frontend/node_modules/ /baserow/enterprise/web-frontend/node_modules
|
&& ln -s /baserow/web-frontend/node_modules/ /baserow/enterprise/web-frontend/node_modules
|
||||||
|
|
||||||
# We don't bother running build-local in dev mode as it pre-compiles nuxt which won't
|
# We don't bother running build-local in dev mode as it pre-compiles nuxt which won't
|
||||||
# be used when running the nuxt dev server.
|
# be used when running the nuxt dev server.
|
||||||
|
|
Loading…
Add table
Reference in a new issue