AIIA / Dockerfile
RosiYo's picture
chore[bert]: Docker probe of concept
91d2214
raw
history blame
458 Bytes
FROM python:3.10.8-slim
LABEL description="Sentiment classifier of tweets service"
LABEL maintainer="RosiSoyYo"
LABEL version="SNAPSHOT"
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y autoremove && \
apt-get install -y
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY ./ml-service /app
WORKDIR /app
RUN pip install --no-cache-dir --upgrade -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "6000"]