Spaces:
Running
Running
update docker build
Browse files- .github/workflows/ci-build.yml +2 -2
- Dockerfile +3 -6
.github/workflows/ci-build.yml
CHANGED
|
@@ -35,11 +35,11 @@ jobs:
|
|
| 35 |
docker-build-documentqa:
|
| 36 |
needs: [build]
|
| 37 |
|
| 38 |
-
runs-on:
|
| 39 |
|
| 40 |
steps:
|
| 41 |
- uses: actions/checkout@v2
|
| 42 |
- name: Build the Docker image
|
| 43 |
-
run: docker build . --file Dockerfile
|
| 44 |
- name: Cleanup older than 24h images and containers
|
| 45 |
run: docker system prune --filter "until=24h" --force
|
|
|
|
| 35 |
docker-build-documentqa:
|
| 36 |
needs: [build]
|
| 37 |
|
| 38 |
+
runs-on: ubuntu-latest
|
| 39 |
|
| 40 |
steps:
|
| 41 |
- uses: actions/checkout@v2
|
| 42 |
- name: Build the Docker image
|
| 43 |
+
run: docker build . --file Dockerfile --tag lfoppiano/documentqa:develop
|
| 44 |
- name: Cleanup older than 24h images and containers
|
| 45 |
run: docker system prune --filter "until=24h" --force
|
Dockerfile
CHANGED
|
@@ -11,13 +11,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
|
| 12 |
COPY requirements.txt .
|
| 13 |
|
| 14 |
-
RUN pip3 install -r requirements.txt
|
| 15 |
|
| 16 |
-
COPY
|
| 17 |
-
COPY
|
| 18 |
-
COPY resources/nims_proxy.cer .
|
| 19 |
-
COPY tiktoken_cache ./tiktoken_cache
|
| 20 |
-
COPY grobid_magneto/document_qa/.streamlit ./.streamlit
|
| 21 |
|
| 22 |
# extract version
|
| 23 |
COPY .git ./.git
|
|
|
|
| 11 |
|
| 12 |
COPY requirements.txt .
|
| 13 |
|
| 14 |
+
RUN pip3 install -r requirements.txt
|
| 15 |
|
| 16 |
+
COPY .streamlit ./.streamlit
|
| 17 |
+
COPY *.py .
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# extract version
|
| 20 |
COPY .git ./.git
|