File size: 303 Bytes
e90f765
 
 
 
e4168ea
 
c96e43f
e90f765
c96e43f
e90f765
 
 
 
232a7d0
e90f765
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.10

WORKDIR /app

ENV NUMBA_CACHE_DIR=/app/cache
RUN mkdir -p /app/cache

COPY ./requirements.txt requirements.txt

RUN pip install --no-cache-dir torch torchvision torchaudio
RUN pip install --no-cache-dir -r requirements.txt

COPY . /app/
RUN chmod -R 777 /app/*
CMD ["python", "app.py"]