olm-chat-7b / sagemaker_train /Dockerfile_update
henhenhahi111112's picture
Upload folder using huggingface_hub
af6e330 verified
raw
history blame contribute delete
449 Bytes
ARG BASE_DOCKER
# Dockerfile that updates the container with new code.
# SageMaker PyTorch image
FROM ${BASE_DOCKER}
# /opt/ml and all subdirectories are utilized by SageMaker, use the /code subdirectory to store your user code.
COPY . /opt/ml/code/
# RUN pip install -e /opt/ml/code/
# Prevent sagemaker from installing requirements again.
RUN rm /opt/ml/code/setup.py
RUN rm /opt/ml/code/requirements.txt
ENV SAGEMAKER_PROGRAM open_lm/main.py