mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore:
This commit is contained in:
3
test/docker/Dockerfile
Normal file
3
test/docker/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM node:20-alpine
|
||||
RUN apk add --no-cache openssl
|
||||
WORKDIR /app/
|
||||
14
test/docker/docker-compose.yaml
Normal file
14
test/docker/docker-compose.yaml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user