You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my Dockerfile to create a node-based image with dependencies installed:
FROM node:lts-bookworm-slim
RUN sed -i 's/^Components: main$/& contrib non-free-firmware/' /etc/apt/sources.list.d/debian.sources
ENV PATH="${PATH}:/Commands/SiteContainer:/Commands"
RUN npm install -g depcheck \
&& npm install -g lighthouse
COPY . /Site
RUN cd /Site \
&& rm -rf package-lock.json \
&& npm install --legacy-peer-deps \
&& mkdir /npm \
&& mv /Site/node_modules /npm \
&& rm -rf /Site
But now I get this error when I start a container from this image:
Unable to load native binding qwik.linux-x64-gnu.node. Falling back to wasm build. /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /npm/node_modules/@builder.io/qwik/bindings/qwik.linux-x64-gnu.node)
using deprecated parameters for the initialization function; pass a single object instead
What should I do?
The text was updated successfully, but these errors were encountered:
This is mostly harmless, it means that the optimizer build needs the glibc version that it can't find, and that instead it will be optimizing using the wasm build.
However, I thought that the optimizer binaries were stand-alone, no libraries required, so that's still a little puzzling.
This is my
Dockerfile
to create a node-based image with dependencies installed:But now I get this error when I start a container from this image:
What should I do?
The text was updated successfully, but these errors were encountered: