diff --git a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md index 9eb786c..d007792 100644 --- a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md +++ b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md @@ -2149,10 +2149,15 @@ app.post('/', multer({ dest: "uploads/" }).single('myFile'), (req, res) => { ``` #### Step-by-Step Process: + **Receive File**: The file is uploaded to a temporary directory. + **Verify Key**: The server checks the provided key to ensure the upload is authorized. + **Check Container**: The server checks if the container exists and is running. + **Copy File**: If everything checks out, the file is copied to the user’s container using `docker cp`. + **Cleanup**: The temporary file is removed from the server after the upload is complete. #### Example Output: