fix
Browse files- Dockerfile +1 -2
- server/requirements.txt +2 -1
Dockerfile
CHANGED
@@ -7,7 +7,6 @@ ENV NODE_MAJOR=20
|
|
7 |
|
8 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
9 |
build-essential \
|
10 |
-
python3.9 \
|
11 |
python3-pip \
|
12 |
python3-dev \
|
13 |
git \
|
@@ -23,7 +22,7 @@ RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg -
|
|
23 |
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list > /dev/null
|
24 |
RUN apt-get update && apt-get install nodejs -y
|
25 |
|
26 |
-
COPY ./requirements.txt /code/requirements.txt
|
27 |
|
28 |
# Set up a new user named "user" with user ID 1000
|
29 |
RUN useradd -m -u 1000 user
|
|
|
7 |
|
8 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
9 |
build-essential \
|
|
|
10 |
python3-pip \
|
11 |
python3-dev \
|
12 |
git \
|
|
|
22 |
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list > /dev/null
|
23 |
RUN apt-get update && apt-get install nodejs -y
|
24 |
|
25 |
+
COPY ./server/requirements.txt /code/requirements.txt
|
26 |
|
27 |
# Set up a new user named "user" with user ID 1000
|
28 |
RUN useradd -m -u 1000 user
|
server/requirements.txt
CHANGED
@@ -15,4 +15,5 @@ safetensors
|
|
15 |
stable_fast @ https://github.com/chengzeyi/stable-fast/releases/download/v1.0.4/stable_fast-1.0.4+torch220cu121-cp310-cp310-manylinux2014_x86_64.whl ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
16 |
oneflow @ https://github.com/siliconflow/oneflow_releases/releases/download/community_cu121/oneflow-0.9.1.dev20240316+cu121-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
17 |
onediff @ git+https://github.com/siliconflow/onediff.git@main#egg=onediff ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
18 |
-
setuptools
|
|
|
|
15 |
stable_fast @ https://github.com/chengzeyi/stable-fast/releases/download/v1.0.4/stable_fast-1.0.4+torch220cu121-cp310-cp310-manylinux2014_x86_64.whl ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
16 |
oneflow @ https://github.com/siliconflow/oneflow_releases/releases/download/community_cu121/oneflow-0.9.1.dev20240316+cu121-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
17 |
onediff @ git+https://github.com/siliconflow/onediff.git@main#egg=onediff ; sys_platform != 'darwin' or platform_machine != 'arm64'
|
18 |
+
setuptools
|
19 |
+
mpmath==1.3.0
|