Fix run on armv7
This commit is contained in:
parent
dcc71aa09f
commit
24f4a7f93a
|
|
@ -56,6 +56,13 @@ RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/*
|
||||||
ENV LANG=en_US.utf8
|
ENV LANG=en_US.utf8
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
# Workaround for https://github.com/nodejs/node/issues/37219
|
||||||
|
RUN test $(uname -m) != armv7l || ( \
|
||||||
|
apt-get update \
|
||||||
|
&& apt-get install -y libatomic1 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
)
|
||||||
|
|
||||||
# install node
|
# install node
|
||||||
#ENV PATH=/usr/local/lib/nodejs/bin:$PATH
|
#ENV PATH=/usr/local/lib/nodejs/bin:$PATH
|
||||||
#COPY --from=build /usr/local/lib/nodejs /usr/local/lib/nodejs
|
#COPY --from=build /usr/local/lib/nodejs /usr/local/lib/nodejs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue