Skip to content

Commit

Permalink
eartly update, fixed wheel version 0.2.6 not ideal
Browse files Browse the repository at this point in the history
  • Loading branch information
allixender committed Feb 1, 2023
1 parent 2cc5f0d commit 6b41a56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@ deps:
build:
FROM +deps
COPY dggrid4py dggrid4py
COPY requirements.txt setup.py README.md .
RUN python setup.py bdist_wheel
SAVE ARTIFACT dggrid4py /dggrid4py
SAVE ARTIFACT dist/dggrid4py-0.2.6-py3-none-any.whl /dggrid4py-0.2.6-py3-none-any.whl
SAVE ARTIFACT wheels /wheels

docker:
COPY +build/dggrid4py dggrid4py
COPY +build/wheels wheels
COPY +build/dggrid4py-0.2.6-py3-none-any.whl dggrid4py-0.2.6-py3-none-any.whl
COPY requirements.txt ./
RUN pip install --no-index --find-links=wheels -r requirements.txt
RUN pip install dggrid4py-0.2.6-py3-none-any.whl
# ENTRYPOINT ["python3", "./dggrid4py/hello.py"]
SAVE IMAGE dggrid4py:0.2.6

0 comments on commit 6b41a56

Please sign in to comment.