diff --git a/pkg/agentfs/examples/python.uv.Dockerfile b/pkg/agentfs/examples/python.uv.Dockerfile index 19ec7374..a286ee18 100644 --- a/pkg/agentfs/examples/python.uv.Dockerfile +++ b/pkg/agentfs/examples/python.uv.Dockerfile @@ -57,6 +57,9 @@ COPY . . # This ensures the application can read/write files as needed RUN chown -R appuser:appuser /app +# Set working directory +WORKDIR /app + # Switch to the non-privileged user for all subsequent operations # This improves security by not running as root USER appuser