Skip to content

Commit d095a16

Browse files
committed
fix
1 parent 157935f commit d095a16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ENTRYPOINT ["/run/entrypoint.sh"]
1111

1212
EXPOSE 9100
1313

14-
# CMD ["micromamba", "run", "-n", "aii", "/opt/demo.py"]
14+
# CMD ["micromamba", "run", "-n", "aii", "python" , "/opt/demo.py"]

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -e
44

@@ -36,8 +36,8 @@ MICRO_MAMBA="https://micro.mamba.pm/api/micromamba/${_ARCH}/latest"
3636
curl -fsSL "$MICRO_MAMBA" | tar -xvj bin/micromamba
3737
mv bin/micromamba /usr/bin/mamba
3838
mamba shell init -s bash -p $DEV_PATH/mamba
39-
39+
source ~/.bashrc
4040
# micromamba create -n aii python=3.11 gradio -c conda-forge -y
41-
# micromamba run -n aii /opt/demo.py
41+
# micromamba run -n aii python /opt/demo.py
4242

4343
exec "$@"

0 commit comments

Comments
 (0)