Spaces:
Sleeping
Sleeping
# 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" ] |