Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Added a test to the Dockerfile
  • Loading branch information
DrB-S authored Nov 10, 2023
1 parent 938b179 commit 0e005c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ CMD HeatCluster.py --help
FROM app as test

# set working directory so that all test inputs & outputs are kept in /test
WORKDIR /test
#WORKDIR /test

# print help and version info; check dependencies (not all software has these options available)
# Mostly this ensures the tool of choice is in path and is executable
RUN heatcluster --help && \
heatcluster --check && \
heatcluster --version
#RUN heatcluster --help && \
# heatcluster --check && \
# heatcluster --version

# Demonstrate that the program is successfully installed

# Run the program's internal tests if available
RUN HeatCluster.py --test
# Run a test matrix thru the program
RUN python3 HeatCluster.py -i snp-dists.txt

0 comments on commit 0e005c6

Please sign in to comment.