File size: 721 Bytes
6a7f9b3
b879795
 
 
8d4e327
 
 
 
 
 
0da959e
 
dea771b
a3a5fc1
dea771b
a3a5fc1
dea771b
 
 
 
 
 
23cc17e
6921a2b
23cc17e
9ef616c
23cc17e
4bc7057
55b453f
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
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"]