Bläddra i källkod

Docker File Update

Benjamin Harris 1 månad sedan
förälder
incheckning
a4799cf21a
1 ändrade filer med 2 tillägg och 2 borttagningar
  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"]