Skip to content

Commit

Permalink
Merge pull request #416: Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Feb 21, 2024
2 parents 5f0b4e2 + caf1be4 commit e6c904f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1,145 deletions.
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/update-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
- '**'
paths:
- Dockerfile
- .dockerignore
- Pipfile
- Pipfile.lock
- package.json
- yarn.lock
- .github/workflows/update-image.yml
Expand Down
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
xz-utils

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

COPY Pipfile Pipfile.lock /nextstrain/ncov-ingest/

RUN PIPENV_PIPFILE=/nextstrain/ncov-ingest/Pipfile pipenv sync --system \
&& rm -rf ~/.cache
RUN python3 -m pip install -r /nextstrain/ncov-ingest/requirements.txt

# Put any bin/ dir in the cwd on the path for more convenient invocation of
# ncov-ingest's programs.
Expand Down
22 changes: 0 additions & 22 deletions Pipfile

This file was deleted.

Loading

0 comments on commit e6c904f

Please sign in to comment.