update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -6,9 +6,10 @@ RUN apt-get update && \
|
|
| 6 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
|
| 9 |
-
RUN git clone https://github.com/xueh-nv/aiconfigurator.git
|
| 10 |
-
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
# 创建与 HF Spaces 运行时一致的 uid=1000 用户,避免 getpwuid() 错误
|
| 14 |
RUN groupadd -g 1000 user && \
|
|
|
|
| 6 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
|
| 9 |
+
RUN git clone https://github.com/xueh-nv/aiconfigurator.git && \
|
| 10 |
+
cd aiconfigurator && \
|
| 11 |
+
git lfs pull && \
|
| 12 |
+
pip3 install .[webapp]
|
| 13 |
|
| 14 |
# 创建与 HF Spaces 运行时一致的 uid=1000 用户,避免 getpwuid() 错误
|
| 15 |
RUN groupadd -g 1000 user && \
|