Skip to content

Commit

Permalink
dockerfile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
genric committed Oct 28, 2024
1 parent f3b283e commit 564570e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY logging.cfg ./

ENV HOME=/home/bbp-workflow

COPY dist/* dist/
RUN pip install --no-cache-dir $(ls -t $PWD/dist/*.* | head -n 1)
COPY dist/bbp_workflow_svc.tar.gz dist/
RUN pip install --no-cache-dir dist/bbp_workflow_svc.tar.gz

ENTRYPOINT ["python", "-m", "bbp_workflow_svc.main"]
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ help:

python_build:
pipx run build --sdist
cp $$(ls -t dist/*.* | head -n 1) dist/bbp_workflow_svc.tar.gz

build_latest: python_build
docker build -t $(IMAGE_NAME):latest .
Expand Down

0 comments on commit 564570e

Please sign in to comment.