dockerfile 314 B

12345678910111213
  1. # Use an official Python runtime as a parent image
  2. FROM python:3.9-slim
  3. COPY . /services/grammar_correction
  4. # Set the working directory in the container
  5. WORKDIR /services/grammar_correction
  6. # Install dependencies
  7. RUN pip install --upgrade pip && \
  8. pip install pika happytransformer
  9. CMD ["python", "app.py"]