use nodejs-specific builder
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
88fbbfa02b
commit
da12782d27
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue