This repository has been archived by the owner on Jul 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac06598
commit 9727a47
Showing
5 changed files
with
408 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
FROM jinaai/jina:1.2.0 | ||
FROM jinaai/jina:master | ||
|
||
# install and upgrade pip | ||
RUN apt-get update && apt-get install -y python3.7 python3.7-dev python3-pip git | ||
RUN python3.7 -m pip install --upgrade pip | ||
|
||
# setup the workspace | ||
COPY . /workspace | ||
WORKDIR /workspace | ||
|
||
RUN pip install -r requirements.txt | ||
RUN pip install pytest && pytest tests/ -v -s | ||
# install Jina and third-party requirements | ||
RUN python3.7 -m pip install -r requirements.txt | ||
RUN python3.7 -m pip install pytest | ||
|
||
ENTRYPOINT ["jina", "pod", "--uses", "config.yml"] | ||
ENTRYPOINT ["jina", "pod", "--uses", "config.yml"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.