-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.dockerignore
More file actions
34 lines (31 loc) · 900 Bytes
/
.dockerignore
File metadata and controls
34 lines (31 loc) · 900 Bytes
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
# This .dockerignore file only works with docker buildkit. Wildcard exclusion patterns are
# utterly broken and misdocumented in vanilla docker.
#
# See: https://github.com/moby/moby/issues/43232
#
# This is an allow-list based .dockerignore file.
#
# - First of all, ignore everything.
# - Then, allow only the files that are needed for the build.
#
# We add only the absolute minimal set of files needed for the build. For instance,
# we can entirely skip any tsconfig because we use `tsup` for the server build.
*
# Allow workspace root files.
!package.json
!tsconfig.json
!tsconfig.base.json
!tsconfig.build.json
!pnpm-workspace.yaml
!pnpm-lock.yaml
!patches/*
!scripts/*
# Server application.
!apps/server/package.json
!apps/server/tsup.config.ts
!apps/server/src
!apps/server/prisma
# Workspace package dependencies.
!packages/hypergraph
!packages/hypergraph-react
!packages/typesync-studio