更新 .gitignore,忽略 playground;Dockerfile 中添加 ca-certificates 安装步骤
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -10,4 +10,6 @@ bin/
|
|||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
*.pem
|
*.pem
|
||||||
*.http
|
*.http
|
||||||
|
|
||||||
|
*/playground/
|
||||||
@@ -20,6 +20,8 @@ FROM ubuntu:24.04
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y ca-certificates
|
||||||
|
|
||||||
# 从构建阶段复制编译好的二进制文件
|
# 从构建阶段复制编译好的二进制文件
|
||||||
COPY --from=builder /build/bin/platform_linux_amd64 /app/platform
|
COPY --from=builder /build/bin/platform_linux_amd64 /app/platform
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user