LiamKhoaLe commited on
Commit
419bca9
·
1 Parent(s): c125b4a
Files changed (1) hide show
  1. dummy.txt +0 -34
dummy.txt DELETED
@@ -1,34 +0,0 @@
1
- # Create and start the container to ensure proper directory structure
2
- docker run -d --name medai-processing 25478abb6322 tail -f /dev/null
3
-
4
- # Now copy the file to the correct location
5
- docker cp utils/drive_saver.py medai-processing:/utils/drive_saver.py
6
-
7
- # Commit the changes
8
- docker commit temp-medai medai-processing:patched
9
-
10
- # Clean up
11
- docker stop temp-medai
12
- docker rm temp-medai
13
-
14
- # Run your new image
15
- docker run -d --name medai-processing -p 8000:8000 medai-processing:patched
16
-
17
-
18
- # Start the container first, then copy
19
- docker create --name temp-medai 25478abb6322
20
- docker start temp-medai
21
- docker cp utils/drive_saver.py temp-medai:/utils/drive_saver.py
22
- docker stop temp-medai
23
- docker commit temp-medai medai-processing:patched
24
- docker rm temp-medai
25
- docker run -d --name medai-processing -p 8000:8000 medai-processing:patched
26
-
27
- PS C:\Users\sawko\Downloads\processing-main> docker run -d --name medai-processing 25478abb6322
28
- 3df959e01f83d2dfce7239b655de8bc83a52aef711d3a530a6c7456cc8e2a445
29
- PS C:\Users\sawko\Downloads\processing-main> docker cp utils/drive_saver.py medai-processing:/utils/drive_saver.py
30
- >>
31
- Successfully copied 7.17kB to medai-processing:/utils/drive_saver.py
32
- Error response from daemon: Could not find the file /utils in container medai-processing
33
- PS C:\Users\sawko\Downloads\processing-main> docker ps
34
- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES