File size: 752 Bytes
6a7f9b3 b879795 1d6ab1f b55971a 2b883e9 b03ab9b 0da959e 8d4e327 0da959e dea771b a3a5fc1 dea771b a3a5fc1 dea771b b55971a b879795 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
FROM sab148/misato-dataset:latest
USER root
# Set up time zone.
ENV TZ=UTC
RUN sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
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"]
|