summaryrefslogtreecommitdiffstats
path: root/standalone/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main')
-rw-r--r--standalone/src/main/assembly/dockerfile4
-rw-r--r--standalone/src/main/assembly/requirements.txt5
2 files changed, 9 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/dockerfile b/standalone/src/main/assembly/dockerfile
index 185d25b..afa4e9a 100644
--- a/standalone/src/main/assembly/dockerfile
+++ b/standalone/src/main/assembly/dockerfile
@@ -5,6 +5,8 @@ WORKDIR /home/uuihome/uui
COPY requirements.txt /home/uuihome/uui/requirements.txt
+RUN apt-get update && apt-get install -y ruby zlib1g zlib1g.dev libjpeg-dev
+
# hadolint ignore=DL3008
RUN groupadd uui -g 1000 && \
useradd -u 1000 -d /home/uuihome/uui -g uui -s /bin/bash uui && \
@@ -23,6 +25,8 @@ RUN groupadd uui -g 1000 && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
pip install --upgrade setuptools && \
+ pip install wheel && \
+ pip install torch==1.10.1 torchvision==0.11.2+cpu torchaudio==0.10.1 --extra-index-url https://download.pytorch.org/whl/cpu && \
pip install --no-cache-dir -r requirements.txt && \
DEBIAN_FRONTEND=noninteractive apt-get remove --purge -y \
build-essential \
diff --git a/standalone/src/main/assembly/requirements.txt b/standalone/src/main/assembly/requirements.txt
index 10b5589..d221ceb 100644
--- a/standalone/src/main/assembly/requirements.txt
+++ b/standalone/src/main/assembly/requirements.txt
@@ -24,3 +24,8 @@ urllib3==1.24.2
xlrd==1.2.0
XlsxWriter==1.1.8
xlwt==1.3.0
+Pillow
+certifi
+charset-normalizer
+idna
+typing-extensions