Browse Source

Docker File Update

Benjamin Harris 1 tháng trước cách đây
mục cha
commit
a4799cf21a

+ 2 - 2
services/ai_grammar_correction/dockerfile

@@ -7,7 +7,7 @@ COPY . /services/grammar_correction
 WORKDIR /services/grammar_correction
 WORKDIR /services/grammar_correction
 
 
 # Install dependencies
 # 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"]
 CMD ["python", "app.py"]