Skip to content

Commit

Permalink
fix: git comit install format (#221)
Browse files Browse the repository at this point in the history
* fix: git comit install format

* fix: var dockerfile
  • Loading branch information
dilyararimovna committed Nov 24, 2022
1 parent 523736a commit 5a91c63
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion annotators/fact_retrieval/Dockerfile
Expand Up @@ -18,7 +18,7 @@ ENV PORT=$PORT
COPY ./annotators/fact_retrieval/requirements.txt /src/requirements.txt
RUN pip install --upgrade pip && pip install -r /src/requirements.txt

RUN pip install git+https://github.com/deeppavlov/DeepPavlov.git@${COMMIT}
RUN pip install https://codeload.github.com/deeppavlov/DeepPavlov/tar.gz/${COMMIT}

COPY $SRC_DIR /src

Expand Down
2 changes: 1 addition & 1 deletion annotators/intent_catcher_deepy/Dockerfile
Expand Up @@ -18,7 +18,7 @@ COPY ./requirements.txt requirements.txt

RUN pip install --upgrade pip && \
pip install -r requirements.txt && \
pip install git+git://github.com/deeppavlov/DeepPavlov.git@dbcaf73acd8580e2bec337300ab0d29887d78c51
pip install https://codeload.github.com/deeppavlov/DeepPavlov/tar.gz/dbcaf73acd8580e2bec337300ab0d29887d78c51

RUN python -c "import tensorflow_hub as hub; hub.Module(\"https://tfhub.dev/google/universal-sentence-encoder/2\")" && \
wget -O /usr/local/lib/python3.6/dist-packages/deeppavlov/utils/server/server.py \
Expand Down
2 changes: 1 addition & 1 deletion annotators/kbqa/Dockerfile
Expand Up @@ -15,7 +15,7 @@ ENV COMMIT=$COMMIT
COPY ./annotators/kbqa/requirements.txt /src/requirements.txt
RUN pip install --upgrade pip && pip install -r /src/requirements.txt

RUN pip install git+https://github.com/deeppavlov/DeepPavlov.git@$COMMIT
RUN pip install https://codeload.github.com/deeppavlov/DeepPavlov/tar.gz/${COMMIT}

COPY $SRC_DIR /src

Expand Down
2 changes: 1 addition & 1 deletion annotators/spelling_preprocessing_ru/Dockerfile
Expand Up @@ -25,7 +25,7 @@ ENV PORT=$PORT
COPY ./annotators/spelling_preprocessing_ru/requirements.txt /src/requirements.txt
RUN pip install --upgrade pip && pip install -r /src/requirements.txt

RUN pip install git+https://github.com/deeppavlov/DeepPavlov.git@${COMMIT}
RUN pip install https://codeload.github.com/deeppavlov/DeepPavlov/tar.gz/${COMMIT}

COPY $SRC_DIR /src

Expand Down
2 changes: 1 addition & 1 deletion services/text_qa/Dockerfile
Expand Up @@ -19,7 +19,7 @@ COPY ./requirements.txt /src/requirements.txt
RUN pip install --upgrade pip && pip install -r /src/requirements.txt

RUN rm -r /etc/apt/sources.list.d && apt-get update && apt-get install git -y
RUN pip install git+https://github.com/deeppavlov/DeepPavlov.git@${COMMIT}
RUN pip install https://codeload.github.com/deeppavlov/DeepPavlov/tar.gz/${COMMIT}

COPY . /src

Expand Down

0 comments on commit 5a91c63

Please sign in to comment.