Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -11,8 +11,6 @@ ARG WEBHOOK_URL=https://aigenai-db.hf.space/
|
|
11 |
ARG WORKDIR=/app
|
12 |
ARG DB_IMPORT=no
|
13 |
ARG NODEJS_VER=20
|
14 |
-
ARG PYTHON_PACKAGES="requirements.txt"
|
15 |
-
ARG NODE_PACKAGES="package.json"
|
16 |
ARG WEBDAV_URL="https://cfr2.n8n.us.kg/"
|
17 |
ARG WEBDAV_USER="your_username"
|
18 |
ARG WEBDAV_PASSWORD="your_password"
|
@@ -58,8 +56,8 @@ RUN apt-get update && apt-get install -y \
|
|
58 |
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
59 |
python3 -m venv $VIRTUAL_ENV && \
|
60 |
$VIRTUAL_ENV/bin/pip install --upgrade pip && \
|
61 |
-
$VIRTUAL_ENV/bin/pip install -r ${
|
62 |
-
npm install -g $(cat ${
|
63 |
|
64 |
# 设置工作目录并复制脚本
|
65 |
WORKDIR ${WORKDIR}
|
|
|
11 |
ARG WORKDIR=/app
|
12 |
ARG DB_IMPORT=no
|
13 |
ARG NODEJS_VER=20
|
|
|
|
|
14 |
ARG WEBDAV_URL="https://cfr2.n8n.us.kg/"
|
15 |
ARG WEBDAV_USER="your_username"
|
16 |
ARG WEBDAV_PASSWORD="your_password"
|
|
|
56 |
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
57 |
python3 -m venv $VIRTUAL_ENV && \
|
58 |
$VIRTUAL_ENV/bin/pip install --upgrade pip && \
|
59 |
+
$VIRTUAL_ENV/bin/pip install -r ${WORKDIR}/requirements.txt && \
|
60 |
+
npm install -g $(cat ${WORKDIR}/package.json)
|
61 |
|
62 |
# 设置工作目录并复制脚本
|
63 |
WORKDIR ${WORKDIR}
|