🐛 cas滑块验证码

This commit is contained in:
sugarBecomer
2025-11-12 13:35:17 +08:00
parent 120e690795
commit 66995c0c78
+11
View File
@@ -1,6 +1,16 @@
FROM golang:latest AS backend-builder
RUN apt update
RUN apt install -y build-essential
# 安装 OpenCV 开发库和依赖
RUN apt install -y \
libopencv-dev \
libopencv-core-dev \
libopencv-imgproc-dev \
libopencv-imgcodecs-dev \
libopencv-videoio-dev \
pkg-config
WORKDIR /build
COPY . .
ENV CGO_ENABLED=1
@@ -11,6 +21,7 @@ RUN apt install -y upx-ucl
RUN upx --best --lzma bin/server
FROM golang:latest
COPY --from=backend-builder /build/bin/server /app/server
#COPY static /app/static
#COPY static/*.so /app/