first commit

This commit is contained in:
2025-04-15 15:32:22 +08:00
commit d5c5d1d011
4 changed files with 58 additions and 0 deletions

14
Dockerfile.abnormal Normal file
View File

@@ -0,0 +1,14 @@
# 使用轻量级的Alpine Linux作为基础镜像
FROM alpine:latest
# 安装bash (Alpine默认没有bash)
RUN apk add --no-cache bash
# 创建工作目录
WORKDIR /app
# 复制脚本到容器中
COPY abnormal.sh /app/
# 设置容器启动时执行的命令
CMD ["/bin/bash","/app/abnormal.sh"]