浏览代码

Fix Dockerfile syntax for conditional installation

Everett Wilber 1 月之前
父节点
当前提交
fcc1e2729c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -138,7 +138,7 @@ RUN pip3 install --no-cache-dir uv && \
     python -c "import os; from faster_whisper import WhisperModel; WhisperModel(os.environ['WHISPER_MODEL'], device='cpu', compute_type='int8', download_root=os.environ['WHISPER_MODEL_DIR'])"; \
     python -c "import os; import tiktoken; tiktoken.get_encoding(os.environ['TIKTOKEN_ENCODING_NAME'])"; \
     fi; \
-    else \ 
+    else \
     uv pip install --system -r requirements.txt --no-cache-dir && \
     fi; \
     chown -R $UID:$GID /app/backend/data/