soxogvv commited on
Commit
6cb12cb
Β·
verified Β·
1 Parent(s): 665ec77

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -37,14 +37,18 @@ ENV HOME=/root \
37
  VIRTUAL_ENV=/root/venv \
38
  PIP_NO_CACHE_DIR=1 \
39
  HOSTNAME=Kanha
 
 
 
 
 
40
  RUN npm install -g shellular
41
  # ── Create Python venv ────────────────────────────────────────────────────────
42
  # After creating the venv
43
  RUN python3 -m venv /root/venv && \
44
  /root/venv/bin/pip install --upgrade pip && \
45
  /root/venv/bin/pip install huggingface_hub && \
46
- rm -f /root/venv/lib/python*/EXTERNALLY-MANAGED # ← add this
47
-
48
  # ── Install shellular globally ────────────────────────────────────────────────
49
  RUN npm config set prefix /root/.npm-global
50
 
 
37
  VIRTUAL_ENV=/root/venv \
38
  PIP_NO_CACHE_DIR=1 \
39
  HOSTNAME=Kanha
40
+
41
+ # ── Use the built-in "node" user ──────────────────────────────────────────────
42
+
43
+ # ── Override shell prompt to always show dragonhf ─────────────────────────────
44
+ RUN echo 'export PS1="\u@kanha:\w\$ "' >> /root/.bashrc
45
  RUN npm install -g shellular
46
  # ── Create Python venv ────────────────────────────────────────────────────────
47
  # After creating the venv
48
  RUN python3 -m venv /root/venv && \
49
  /root/venv/bin/pip install --upgrade pip && \
50
  /root/venv/bin/pip install huggingface_hub && \
51
+ rm -f /data/persist/venv/lib/python*/EXTERNALLY-MANAGED
 
52
  # ── Install shellular globally ────────────────────────────────────────────────
53
  RUN npm config set prefix /root/.npm-global
54