-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy path.dockerignore
More file actions
70 lines (66 loc) · 1.14 KB
/
.dockerignore
File metadata and controls
70 lines (66 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 通用忽略
.git
.gitignore
.DS_Store
.env
.env.*
.vscode
.idea
*.swp
*.swo
README.md
LICENSE
# 前端忽略
web/node_modules
web/.vscode
web/.idea
web/coverage
web/npm-debug.log
web/yarn-debug.log
web/yarn-error.log
web/pnpm-debug.log
web/.env.local
web/.env.development.local
web/.env.test.local
web/.env.production.local
# 注意:不要忽略web/dist目录,因为我们需要将其复制到容器中
# 后端忽略
backend/__pycache__/
backend/**/__pycache__/
backend/**/**/__pycache__/
backend/*.py[cod]
backend/*$py.class
backend/*.so
backend/.Python
backend/env/
backend/build/
backend/develop-eggs/
backend/dist/
backend/downloads/
backend/eggs/
backend/.eggs/
backend/lib/
backend/lib64/
backend/parts/
backend/sdist/
backend/var/
backend/*.egg-info/
backend/.installed.cfg
backend/*.egg
backend/db.sqlite3
backend/media
backend/logs/
backend/backups/
# 过滤掉migrations文件,但保留__init__.py
backend/*/migrations/*
!backend/*/migrations/__init__.py
# 其他文件
Dockerfile
docker-compose.yml
.dockerignore
start-containers.sh
verify-docker.sh
DOCKER_IN_DOCKER.md
# 不要忽略启动脚本
!docker-entrypoint.sh
!ci-entrypoint-dind.sh