jdelavande HF Staff commited on
Commit
7718b1a
·
1 Parent(s): 43c49e6

entrypoint

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. entrypoint.sh +5 -3
Dockerfile CHANGED
@@ -33,4 +33,5 @@ USER user
33
  ENV HOME=/home/user
34
 
35
  COPY entrypoint.sh /entrypoint.sh
 
36
  ENTRYPOINT ["/entrypoint.sh"]
 
33
  ENV HOME=/home/user
34
 
35
  COPY entrypoint.sh /entrypoint.sh
36
+ RUN chmod +x /entrypoint.sh
37
  ENTRYPOINT ["/entrypoint.sh"]
entrypoint.sh CHANGED
@@ -1,6 +1,8 @@
1
  #!/bin/bash
2
 
3
- echo "✅ Space démarré en mode Dev container actif"
4
 
5
- # Lancer bash en interactif si tu veux dev tranquillement
6
- exec bash
 
 
 
1
  #!/bin/bash
2
 
3
+ echo "✅ Entrypoint lancé, en attente (Dev Mode actif)."
4
 
5
+ # Démarre un shell interactif pour Dev Mode (VSCode/SSH)
6
+ # Et bloque la sortie avec `tail -f`
7
+ bash &
8
+ tail -f /dev/null