Dockerfile cloud ports (#1148)

* explicitly expose ports 8888 and 22

* support for SSH_KEY from latitude
This commit is contained in:
Wing Lian
2024-01-18 22:04:25 -05:00
committed by GitHub
parent 08b8ba09a5
commit 729740df81
2 changed files with 14 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ ENV TRANSFORMERS_CACHE="/workspace/data/huggingface-cache/hub"
ENV HF_HOME="/workspace/data/huggingface-cache/hub"
ENV HF_HUB_ENABLE_HF_TRANSFER="1"
EXPOSE 8888
EXPOSE 22
COPY scripts/cloud-entrypoint.sh /root/cloud-entrypoint.sh
RUN pip install jupyterlab notebook && \