Skip to content

Commit e6c904f

Browse files
authored
Merge pull request #416: Fix docker build
2 parents 5f0b4e2 + caf1be4 commit e6c904f

File tree

6 files changed

+10
-1145
lines changed

6 files changed

+10
-1145
lines changed

.dockerignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/update-image.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
- '**'
99
paths:
1010
- Dockerfile
11-
- .dockerignore
12-
- Pipfile
13-
- Pipfile.lock
1411
- package.json
1512
- yarn.lock
1613
- .github/workflows/update-image.yml

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3535
xz-utils
3636

3737
# Install Python deps
38-
RUN python3 -m pip install pipenv \
39-
&& rm -rf ~/.cache
38+
COPY requirements.txt /nextstrain/ncov-ingest/
4039

41-
COPY Pipfile Pipfile.lock /nextstrain/ncov-ingest/
42-
43-
RUN PIPENV_PIPFILE=/nextstrain/ncov-ingest/Pipfile pipenv sync --system \
44-
&& rm -rf ~/.cache
40+
RUN python3 -m pip install -r /nextstrain/ncov-ingest/requirements.txt
4541

4642
# Put any bin/ dir in the cwd on the path for more convenient invocation of
4743
# ncov-ingest's programs.

Pipfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)