File size: 276 Bytes
62456b0 |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM pytorch/pytorch:1.6.0-cuda10.1-cudnn7-runtime
RUN apt-get update && apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev
COPY . .
RUN pip install --no-cache-dir -r ./requirements.txt
EXPOSE 5000
CMD gunicorn --timeout 200 -w 3 -b 0.0.0.0:5000 drawing:app
|