Since this is a user-managed instance of app engine flex environment, using 'gcloud compute copy-files' may not be the best way due to the following reasons
- The application and its folder structure resides inside a docker container in the instance. It's possible to copy the file into the instance using gcloud but not directly into the container. - You can choose to copy the local file to a folder (e.g. tmp) of the instance. However, you'll then need to SSH into the instance, list the containers using 'docker ps' <https://docs.docker.com/engine/reference/commandline/ps/> and then copy the file into the container containing your app using 'docker cp' <https://docs.docker.com/engine/reference/commandline/cp/>. - Also, any other / new instances of the app will not have any files that has been copied this way since the image doesn't contain it. The ideal way of accomplishing this will be building a Custom Runtime <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build> for the flex environment and later add new files using the Dockerfile <https://docs.docker.com/engine/reference/builder/>. Cheers! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eefabd32-a289-4cef-b088-088fa0b70a67%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
