criyle / go-judge

Sandbox Server in REST / gRPC API. Based on Linux container technologies.
MIT License
419 stars 67 forks source link

请问copyOutDir这个参数的作用是什么? #60

Closed winterant closed 1 year ago

criyle commented 1 year ago

运行结束后把容器工作目录的内容复制到指定路径

winterant commented 1 year ago

如果不指定该参数,会有什么影响吗?

criyle commented 1 year ago

不会有影响,这个参数主要用于调试。因为此参数没有限制复制文件数量,在生产环境使用有拒绝服务攻击风险。