Merge pull request #107 from c0va23/fix/run-on-armv7

Fix run on armv7
This commit is contained in:
Travis Glenn Hansen
2021-08-09 13:20:16 -06:00
committed by GitHub
+7
View File
@@ -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 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
#ENV PATH=/usr/local/lib/nodejs/bin:$PATH
#COPY --from=build /usr/local/lib/nodejs /usr/local/lib/nodejs