microscopic-river-74022
04/26/2024, 6:37 PMmicroscopic-river-74022
04/26/2024, 6:37 PMUSER root
directive. However, if you're experiencing issues, it might be due to other factors.
One thing to note is that Garden uses a sync mechanism for live reloading changes into running Pods in the remote cluster, without needing a full re-build or re-deploy on every code change. This could potentially cause issues if the sync process doesn't have the necessary permissions.
If you're still having trouble, it might be helpful to check the configuration of your Garden project. For instance, you can specify the Dockerfile and its location in your garden.yml
file. Here's an example of how to do that:
yaml
# In ./api/garden.yml
kind: Build
name: api
type: container
source:
path: ../ # <--- Set the action source to the project root
include: [./api/**/*, ./dockerfiles/api.dockerfile] # <--- We need to specify includes since we told Garden the action source is at the root. The includes are relative to the source path we set.
spec:
dockerfile: api.dockerfile # <--- If our Dockerfile isn't called 'Dockerfile' we need to specify the name here
(Source: Garden Documentation ())
If you're still experiencing issues, I would recommend reaching out to the Garden community for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------bright-policeman-43626
04/26/2024, 6:53 PMbig-spring-14945
05/02/2024, 2:07 PMbright-policeman-43626
05/03/2024, 12:58 AMbig-spring-14945
05/03/2024, 11:01 AM