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
server/target/debug
!server/target/debug/lemmy_server
server/target/release
server/target/debug/incremental
ui/dist
server/target
docker/dev/volumes
docker/federation-test/volumes
.git
ansible
# exceptions, needed for federation-test build
!server/target/debug/lemmy_server

13
.gitignore vendored
View file

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

3
ui/.gitignore vendored
View file

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