dockerfile 315 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 python -m pip install pika --upgrade
  8. RUN pip install happytransformer
  9. CMD ["python", "app.py"]