mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
npm workaround
This commit is contained in:
@@ -45,9 +45,12 @@ RUN pacman -Syu --noconfirm \
|
|||||||
COPY testenv/requirements.txt requirements.txt
|
COPY testenv/requirements.txt requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
# https://stackoverflow.com/questions/57534295
|
||||||
|
WORKDIR /root
|
||||||
RUN npm install htmlhint -g \
|
RUN npm install htmlhint -g \
|
||||||
&& npm install pug \
|
&& npm install pug \
|
||||||
&& npm install pug-cli -g
|
&& npm install pug-cli -g
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
ARG LIBGPIOD_VERSION
|
ARG LIBGPIOD_VERSION
|
||||||
ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION
|
ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user