FROM python:3.10.8-slim LABEL description="Sentiment classifier of tweets service" # Set the working directory WORKDIR /app # Copy the requirements file into the container COPY requirements.txt /app/requirements.txt # Upgrade pip and install the dependencies RUN pip install --upgrade pip RUN pip install -r requirements.txt # Copy the rest of the application code into the container COPY . /app/ # Define the command to run the application CMD ["python", "app.py"]