MolCRAFT_demo / Dockerfile
Atomu2014's picture
minor
d5cfdb9
raw
history blame contribute delete
502 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM kevinkune/sbdd:latest
ARG PW="rootpass"
RUN usermod --password $(echo ${PW} | openssl passwd -1 -stdin) root
RUN useradd -m -u 1000 user
WORKDIR /app
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=user . /app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]