更新 .gitignore,忽略 playground;Dockerfile 中添加 ca-certificates 安装步骤

This commit is contained in:
2025-04-22 13:03:41 +08:00
parent 089e2b7590
commit eea47612fb
3 changed files with 5 additions and 6 deletions

4
.gitignore vendored
View File

@@ -10,4 +10,6 @@ bin/
*.exe
*.pem
*.http
*.http
*/playground/

View File

@@ -20,6 +20,8 @@ FROM ubuntu:24.04
WORKDIR /app
RUN apt-get update && apt-get install -y ca-certificates
# 从构建阶段复制编译好的二进制文件
COPY --from=builder /build/bin/platform_linux_amd64 /app/platform

View File

@@ -1,5 +0,0 @@
package main
func main() {
}