Skip to content

Commit

Permalink
Merge pull request #107 from c0va23/fix/run-on-armv7
Browse files Browse the repository at this point in the history
Fix run on armv7
  • Loading branch information
travisghansen committed Aug 9, 2021
2 parents dcc71aa + 24f4a7f commit 6ec8560
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ec8560

Please sign in to comment.