File size: 234 Bytes
aed9eb9
 
 
 
8307b51
 
aed9eb9
 
 
 
2279df1
 
aed9eb9
 
8307b51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:latest

WORKDIR /app

ENV TRANSFORMERS_CACHE /app/cache

COPY requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt

RUN mkdir -p /app/cache && chmod 777 /app/cache

COPY app.py .

CMD ["python", "app.py"]