add proxy port

This commit is contained in:
Your Name
2024-07-12 11:21:41 +08:00
parent 6c6027d5f5
commit 0459c9474d
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,10 @@
# - https://docs.docker.com/build/dockerfile/frontend/#stable-channel
ARG CUDA_VERSION=12.1.0
FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-devel-ubuntu22.04
ARG HTTP_PROXY
ARG HTTPS_PROXY
ENV http_proxy=${HTTP_PROXY}
ENV https_proxy=${HTTPS_PROXY}
ARG DEBIAN_FRONTEND="noninteractive"
ENV DEBIAN_FRONTEND=${DEBIAN_FRONTEND}
ENV MAMBA_ROOT_PREFIX=~/micromamba

View File

@@ -34,6 +34,8 @@ services:
DCUTLASS_NVCC_ARCHS: "80;86;89;90;90a" # 90a for H100 GPU 89:GeForce RTX 4090
DEEPSPEED_VERSION: "master"
DEEPSPEED_INSTALL_FLAGS: "--allow_sudo"
HTTP_PROXY: "http://localhost:15777"
HTTPS_PROXY: "http://localhost:15777"
volumes:
- ./src:/bbtft
container_name: ubuntu-finetune