Spaces:
Sleeping
Sleeping
File size: 414 Bytes
65f3daa 38a8ab5 7a34a4d 65f3daa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM python:3.8.8
WORKDIR /dermasense
ADD . /dermasense
RUN useradd dermasense
RUN chown -R 700 /dermasense/application/static/models
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
#RUN pip uninstall opencv-python
CMD [ "python" , "/dermasense/main.py" ] |