Sfoglia il codice sorgente

Docker File Update

Benjamin Harris 1 mese fa
parent
commit
a4799cf21a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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"]