Spaces:
Runtime error
Runtime error
Commit ·
419bca9
1
Parent(s): c125b4a
rm note
Browse files12345678910111213141516171819202122232425262728293031323334# Create and start the container to ensure proper directory structuredocker run -d --name medai-processing 25478abb6322 tail -f /dev/null
# Now copy the file to the correct locationdocker cp utils/drive_saver.py medai-processing:/utils/drive_saver.py
# Commit the changesdocker commit temp-medai medai-processing:patched
# Clean updocker stop temp-medaidocker rm temp-medai
# Run your new imagedocker run -d --name medai-processing -p 8000:8000 medai-processing:patched
# Start the container first, then copydocker create --name temp-medai 25478abb6322docker start temp-medaidocker cp utils/drive_saver.py temp-medai:/utils/drive_saver.pydocker stop temp-medaidocker commit temp-medai medai-processing:patcheddocker rm temp-medaidocker run -d --name medai-processing -p 8000:8000 medai-processing:patched
PS C:\Users\sawko\Downloads\processing-main> docker run -d --name medai-processing 25478abb63223df959e01f83d2dfce7239b655de8bc83a52aef711d3a530a6c7456cc8e2a445PS C:\Users\sawko\Downloads\processing-main> docker cp utils/drive_saver.py medai-processing:/utils/drive_saver.py >>Successfully copied 7.17kB to medai-processing:/utils/drive_saver.pyError response from daemon: Could not find the file /utils in container medai-processingPS C:\Users\sawko\Downloads\processing-main> docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESdummy.txtDeleted-34