Skip to content

Commit

Permalink
changed default command to python train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zoechbauer committed Oct 31, 2023
1 parent 38b39c9 commit 29831b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ ENV LC_ALL=C
RUN pip install --upgrade pip
#RUN pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
RUN ls
RUN pip install -r env-files/torch/pytorch-env-gpu-container.txt
#RUN pip install -r env-files/torch/pytorch-env-gpu-container.txt
RUN pip install -e .

# Define the run command when the container starts
CMD ["sleep", "300"]
CMD ["python", "-V"]
#CMD ["sleep", "300"]
#CMD ["python", "-V"]
CMD ["python", "train.py", "-p", "pipeline.yaml"]

# Additional information labels
LABEL Author="azoechba"
Expand Down

0 comments on commit 29831b3

Please sign in to comment.