LiamKhoaLe commited on
Commit
dbb0a2d
·
1 Parent(s): 0edc374
Files changed (1) hide show
  1. dummy.txt +10 -4
dummy.txt CHANGED
@@ -1,9 +1,15 @@
1
- # Remove the existing container first
2
- docker rm temp-medai
3
 
4
- # Now try again with the correct path
5
- docker create --name temp-medai 25478abb6322
6
  docker cp utils/drive_saver.py temp-medai:/utils/drive_saver.py
 
 
7
  docker commit temp-medai medai-processing:patched
 
 
 
8
  docker rm temp-medai
 
 
9
  docker run -d --name medai-processing -p 8000:8000 medai-processing:patched
 
1
+ # Create and start the container to ensure proper directory structure
2
+ docker run -d --name temp-medai 25478abb6322 tail -f /dev/null
3
 
4
+ # Now copy the file to the correct location
 
5
  docker cp utils/drive_saver.py temp-medai:/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