How can I save the result of the RUN
instruction to a file?
Dockerfile example:
# code removed for simplicity
# <--- not working, probably because RUN creates a new layer?
RUN tree -a > public/tree.txt
ENTRYPOINT ["dotnet", "publish/MyApp.AspNetCore.dll"]