This commit is contained in:
xiaojunnuo
2024-09-05 14:33:45 +08:00
parent 1dd9a8d4d3
commit ecad7f58c1
13 changed files with 89 additions and 14 deletions

3
test/docker/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM node:20-alpine
RUN apk add --no-cache openssl
WORKDIR /app/

View File

@@ -0,0 +1,14 @@
version: '3.3' # 指定docker-compose 版本
services: # 要拉起的服务们
certdtest:
build:
context: ./
dockerfile: Dockerfile
image: certd-test:1
container_name: certdtest # 容器名
volumes:
- ./data:/app/data
command: ["tail", "-f", "/dev/null"]
environment:
- TZ=Asia/Shanghai