Ensure we can build the node modules on ARM.

pull/41/head
Dave Page 2021-02-23 16:12:55 +00:00
parent 2d537b6909
commit 832b8fc038
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ RUN rm -rf /pgadmin4/web/*.log \
WORKDIR /pgadmin4/web
# Build the JS vendor code in the app-builder, and then remove the vendor source.
RUN yarn install && \
RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \
yarn install && \
yarn run bundle && \
rm -rf node_modules \
yarn.lock \