If the file to be deleted is stored on a writable mount, you can SSH into the environment and delete the file with the rm command.
If the file is not on any writable mounts, it means it was either created or copied to the container during the build process and will be read-only.
If the file was copied into the container
If the file was copied to the container during the build process, you can remove or adjust the command in the build hook that created the file, and then redeploy the environment.
If the file was generated during build
If the file was created during the build process, you can remove or modify the build hook command to either not create the file, or to create it in a different location.
Comments
Please sign in to leave a comment.