Files

24 lines
575 B
Plaintext

# Keep the backend build context as small and predictable as possible.
# The backend Docker build uses the repo root as its context, so exclude
# everything first and then opt back into only the source folders it needs.
*
!JobTrackerApi/
!JobTrackerBackend/
!Data/
!Models/
!.dockerignore
# Include the source trees.
!JobTrackerApi/**
!JobTrackerBackend/**
!Data/**
!Models/**
# Re-exclude generated and local data inside the backend project.
JobTrackerApi/bin/
JobTrackerApi/obj/
JobTrackerApi/bin_build/
JobTrackerApi/Attachments/
JobTrackerApi/*.db
JobTrackerApi/*.db-*