Skip to content

Commit

Permalink
entrypoint to image
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 2, 2023
1 parent 2c46ddc commit d8006e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Test image
run: |
docker run --rm ${{ env.IMAGE_NAME }} -c 'from geant4_python_application import Application; geant4_python_application.check_datasets()'
docker run --rm ${{ env.IMAGE_NAME }} -c 'import geant4_python_application; geant4_python_application.check_datasets()'
- name: Publish
run: docker push ${{ env.IMAGE_NAME }}
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ COPY . /source

# Build and install
RUN pip install /source && rm -rf /source

ENTRYPOINT ["python"]

0 comments on commit d8006e4

Please sign in to comment.