Spaces:
Sleeping
Sleeping
File size: 471 Bytes
780562d fb68cce 780562d fb68cce 780562d fb68cce 780562d fb68cce 780562d fb68cce 955c017 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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"] |