Spaces:
Running
on
L4
Running
on
L4
Commit
·
7718b1a
1
Parent(s):
43c49e6
entrypoint
Browse files- Dockerfile +1 -0
- 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 "✅
|
4 |
|
5 |
-
#
|
6 |
-
|
|
|
|
|
|
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
|