Spaces:
Runtime error
Runtime error
Sébastien De Greef
commited on
Commit
·
85bf4d5
1
Parent(s):
7ac7d6c
chore: Update Dockerfile to fix copying of source files
Browse files- Dockerfile +3 -3
- start_chatbot.sh +2 -1
Dockerfile
CHANGED
@@ -30,10 +30,10 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
|
|
30 |
|
31 |
ENV PATH="/home/chatbot/.local/bin:${PATH}"
|
32 |
|
33 |
-
RUN wget
|
34 |
-
|
35 |
|
36 |
-
RUN wget
|
37 |
&& sudo dpkg -i cudnn-local-repo-ubuntu2204-9.1.1_1.0-1_amd64.deb \
|
38 |
&& sudo cp /var/cudnn-local-repo-ubuntu2204-9.1.1/cudnn-*-keyring.gpg /usr/share/keyrings/ \
|
39 |
&& sudo apt-get update && sudo apt-get -y install cudnn
|
|
|
30 |
|
31 |
ENV PATH="/home/chatbot/.local/bin:${PATH}"
|
32 |
|
33 |
+
RUN wget https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run
|
34 |
+
RUN sudo sh cuda_12.4.1_550.54.15_linux.run
|
35 |
|
36 |
+
RUN wget https://developer.download.nvidia.com/compute/cudnn/9.1.1/local_installers/cudnn-local-repo-ubuntu2204-9.1.1_1.0-1_amd64.deb \
|
37 |
&& sudo dpkg -i cudnn-local-repo-ubuntu2204-9.1.1_1.0-1_amd64.deb \
|
38 |
&& sudo cp /var/cudnn-local-repo-ubuntu2204-9.1.1/cudnn-*-keyring.gpg /usr/share/keyrings/ \
|
39 |
&& sudo apt-get update && sudo apt-get -y install cudnn
|
start_chatbot.sh
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
echo "#### BOT BOOT ####"
|
2 |
-
cd src
|
|
|
|
1 |
echo "#### BOT BOOT ####"
|
2 |
+
cd src
|
3 |
+
uvicorn main:app
|