浏览代码

Docker File Update

Benjamin Harris 1 月之前
父节点
当前提交
a4799cf21a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/ai_grammar_correction/dockerfile

+ 2 - 2
services/ai_grammar_correction/dockerfile

@@ -7,7 +7,7 @@ COPY . /services/grammar_correction
 WORKDIR /services/grammar_correction
 
 # Install dependencies
-RUN python -m pip install pika --upgrade
-RUN pip install happytransformer
+RUN pip install --upgrade pip && \
+    pip install pika happytransformer
 
 CMD ["python", "app.py"]