FROM sab148/misato-dataset:latest USER root # Set up time zone. RUN pip install gradio RUN pip install requests RUN pip install py3Dmol RUN pip install biopython RUN pip install pandas #RUN useradd -m -u 1000 user #USER user #ENV HOME=/home/user \ # PATH=/home/user/.local/bin:$PATH #WORKDIR $HOME/app #COPY --chown=user . $HOME/app #RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser . # #USER appuser # #CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] WORKDIR $HOME/app # Copy the current directory contents into the container at $HOME/app setting the owner to the user COPY --chown=user . $HOME/app CMD ["python", "main.py"]