File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This file should not be included in the build context
2
+ FROM scratch
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { promises as stream } from "stream";
6
6
import * as tar from "tar" ;
7
7
8
8
const SOURCE_DATE_EPOCH = process . env [ "SOURCE_DATE_EPOCH" ] ?? "315532800" ; // defaults to 1980-01-01, same as nix-shell
9
+
10
+ // The default .dockerignore for projects that don't have one. Keep in sync with pkg/cli/context.go in CLI repo.
9
11
const defaultDockerIgnore = `# Default .dockerignore file for Defang
10
12
**/.DS_Store
11
13
**/.direnv
@@ -18,13 +20,15 @@ const defaultDockerIgnore = `# Default .dockerignore file for Defang
18
20
**/__pycache__
19
21
**/compose.yaml
20
22
**/compose.yml
21
- **/defang.exe
22
23
**/docker-compose.yaml
23
24
**/docker-compose.yml
24
25
**/node_modules
25
26
**/Thumbs.db
27
+ Dockerfile
28
+ *.Dockerfile
26
29
# Ignore our own binary, but only in the root to avoid ignoring subfolders
27
30
defang
31
+ defang.exe
28
32
# Ignore our project-level state
29
33
.defang` ;
30
34
You can’t perform that action at this time.
0 commit comments