mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
use packages from the repo
This commit is contained in:
@@ -18,10 +18,20 @@ RUN pacman -Syu --noconfirm \
|
||||
python \
|
||||
python-pip \
|
||||
python-tox \
|
||||
python-mako \
|
||||
python-yaml \
|
||||
python-aiohttp \
|
||||
python-aiofiles \
|
||||
python-passlib \
|
||||
python-pyserial \
|
||||
python-setproctitle \
|
||||
python-psutil \
|
||||
python-systemd \
|
||||
python-dbus \
|
||||
python-psutil \
|
||||
python-mako \
|
||||
python-pygments \
|
||||
python-pam \
|
||||
python-pillow \
|
||||
python-xlib \
|
||||
python-hidapi \
|
||||
nginx-mainline \
|
||||
socat \
|
||||
@@ -29,6 +39,9 @@ RUN pacman -Syu --noconfirm \
|
||||
npm \
|
||||
&& (pacman -Sc --noconfirm || true)
|
||||
|
||||
COPY testenv/requirements.txt requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN npm install htmlhint -g \
|
||||
&& npm install pug \
|
||||
&& npm install pug-cli -g
|
||||
@@ -54,9 +67,6 @@ RUN git clone https://github.com/pikvm/ustreamer \
|
||||
&& cd - \
|
||||
&& rm -rf ustreamer
|
||||
|
||||
COPY testenv/requirements.txt requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN mkdir -p \
|
||||
/etc/kvmd/nginx \
|
||||
/var/lib/kvmd/msd/{images,meta} \
|
||||
|
||||
Reference in New Issue
Block a user