Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
USER user
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
@@ -7,9 +12,6 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 7 |
WORKDIR /app
|
| 8 |
COPY --chown=user . /app
|
| 9 |
|
| 10 |
-
RUN apt-get update -y
|
| 11 |
-
RUN apt install -y git-all
|
| 12 |
-
RUN apt-get install -y dssp
|
| 13 |
RUN pip3 install --upgrade pip
|
| 14 |
RUN pip3 install git+https://github.com/a-r-j/graphein.git
|
| 15 |
RUN pip3 install numpy scipy torch==2.2 transformers==4.44.2
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
+
USER root
|
| 4 |
+
RUN apt-get update -y
|
| 5 |
+
RUN apt install -y git-all
|
| 6 |
+
RUN apt-get install -y dssp
|
| 7 |
+
|
| 8 |
RUN useradd -m -u 1000 user
|
| 9 |
USER user
|
| 10 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
|
| 12 |
WORKDIR /app
|
| 13 |
COPY --chown=user . /app
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
RUN pip3 install --upgrade pip
|
| 16 |
RUN pip3 install git+https://github.com/a-r-j/graphein.git
|
| 17 |
RUN pip3 install numpy scipy torch==2.2 transformers==4.44.2
|