Cleanup gitignore and dockerignore files

This commit is contained in:
Felix 2020-03-12 20:25:14 +01:00
parent 063811cb60
commit 8f67a3c634
3 changed files with 16 additions and 10 deletions

12
.dockerignore vendored
View file

@ -1,9 +1,11 @@
# build folders and similar which are not needed for the docker build
ui/node_modules ui/node_modules
server/target/debug
!server/target/debug/lemmy_server
server/target/release
server/target/debug/incremental
ui/dist
server/target server/target
docker/dev/volumes docker/dev/volumes
docker/federation-test/volumes
.git .git
ansible
# exceptions, needed for federation-test build
!server/target/debug/lemmy_server

11
.gitignore vendored
View file

@ -1,10 +1,17 @@
# local ansible configuration
ansible/inventory ansible/inventory
ansible/inventory_dev ansible/inventory_dev
ansible/passwords/ ansible/passwords/
# docker build files
docker/lemmy_mine.hjson docker/lemmy_mine.hjson
docker/dev/env_deploy.sh docker/dev/env_deploy.sh
docker/federation-test/volumes docker/federation-test/volumes
docker/dev/volumes
# local build files
build/ build/
.idea/
ui/src/translations ui/src/translations
docker/dev/volumes
# ide config
.idea/

3
ui/.gitignore vendored
View file

@ -6,14 +6,11 @@ _site
.git .git
build build
.build .build
.git
.history
.idea .idea
.jshintrc .jshintrc
.nyc_output .nyc_output
.sass-cache .sass-cache
.vscode .vscode
build
coverage coverage
jsconfig.json jsconfig.json
Gemfile.lock Gemfile.lock