TillCyrill
PYTHONPATH
9ef616c
raw
history blame
721 Bytes
FROM sab148/misato-dataset:latest
USER root
# Set up time zone.
#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
ENV AMBERHOME="/usr/bin/amber22"
ENV PATH="$AMBERHOME/bin:$PATH"
ENV PYTHONPATH="$AMBERHOME/lib/python3.8/site-packages"
RUN pip install -r requirements.txt
CMD ["python", "main.py"]