use nodejs-specific builder
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniel Wolf 2023-04-17 12:20:48 -04:00
parent 88fbbfa02b
commit da12782d27
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
FROM nephatrine/nxbuilder:alpine AS builder
FROM nephatrine/nxbuilder:nodejs AS builder
ARG H5AI_VERSION=0.31.0
RUN git -C ${HOME} clone -b "$H5AI_VERSION" --single-branch --depth=1 https://github.com/glubsy/h5ai.git
RUN git -C /root clone -b "$H5AI_VERSION" --single-branch --depth=1 https://github.com/glubsy/h5ai.git
ARG NODE_OPTIONS=--openssl-legacy-provider
RUN echo "====== COMPILE H5AI ======" \
&& cd ${HOME}/h5ai \
&& cd /root/h5ai \
&& npm install && npm run build \
&& mkdir -p /var/www/html/ \
&& unzip build/*.zip -d /var/www/html/