Spaces:
Sleeping
Sleeping
Commit
·
57cc204
1
Parent(s):
dbb0a2d
Upd note
Browse files
dummy.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 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
|
|
@@ -12,4 +12,14 @@ 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
|
|
|
|
| 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
|
|
|
|
| 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
|