Last active
August 14, 2020 08:36
-
-
Save elviejokike/4b9ca2e7e1172c9a121843adb5fd25f9 to your computer and use it in GitHub Desktop.
Dockerfile-4Sagemaker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM 763104351884.dkr.ecr.eu-west-1.amazonaws.com/pytorch-training:1.5.1-gpu-py36-cu101-ubuntu16.04 | |
RUN mkdir -p /opt/service/boot | |
COPY entrypoint.sh /opt/service/boot/ | |
RUN chmod +x /opt/service/boot/entrypoint.sh | |
WORKDIR /opt/service/boot | |
ENTRYPOINT ["/opt/service/boot/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
source /opt/ml/input/data/service-boot/job.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment