Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Aug 6, 2024
1 parent a7b475d commit 0f8f90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/harvest-restrictions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
- uses: actions/checkout@v4
- name: Download sources
run: |
/venv/bin/python download.py sources.json -v
python download.py sources.json -v
- name: Process overlays
run: |
source /venv/bin/activate
./process.sh
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ WORKDIR /home/harvest-restrictions

COPY requirements*.txt ./

RUN python3 -m venv /venv && \
/venv/bin/python -m pip install -U pip && \
/venv/bin/python -m pip install --no-cache-dir --upgrade numpy && \
/venv/bin/python -m pip install -r requirements.txt
RUN python3 -m venv /opt/venv && \
/opt/venv/bin/python -m pip install -U pip && \
/opt/venv/bin/python -m pip install --no-cache-dir --upgrade numpy && \
/opt/venv/bin/python -m pip install --no-cache-dir -r requirements.txt

ENV PATH="/opt/venv/bin:$PATH"

0 comments on commit 0f8f90a

Please sign in to comment.