Use tmpfs for the workspace directory

Hi,
I would like to use tmpfs for my workspace directory for Docker runners. This way I could speedup my builds by using RAM instead of the server storage.

Is there any way to do so?

Thanks,
Maxime