Skip to content

Commit

Permalink
dockerignore: convert to whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Dec 1, 2022
1 parent a6b34ec commit f97f3e6
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
node_modules
npm-debug.log
# Ignore everything
*

# Re-include the things we actually want

# .git dirs: required to generate version files in service container
!/.git/
!/server/.git
!/client/.git

!/files/

!/server/package.json
!/server/package-lock.json
!/server/config/
!/server/lib/

!/client/package.json
!/client/package-lock.json
!/client/vue.config.js
!/client/public/
!/client/src/

0 comments on commit f97f3e6

Please sign in to comment.