* The previous Dockerfile was using and outdated format and was causing heavy load times. The number of the lines in the Dockerfile are defined as layer, with more layers more time and bigger is the final image. There were many things that were able to be delegated to the official ruby docker image. * - Use yarn community package - Don't create the workdir directory since is created by docker if doesn't exists - Remove config/application.yml from .dockerignore * Update Dockerfile Co-Authored-By: Abenet Tamiru <mail@abenet.me> * Update Dockerfile Co-Authored-By: Abenet Tamiru <mail@abenet.me> * Add directory copy, and user correct folder in compose * Update docker-compose and Dockerfile * Fix typo Co-Authored-By: Mac Siri <krairit.siri@gmail.com> * Update wording Co-Authored-By: Mac Siri <krairit.siri@gmail.com>
63 lines
891 B
Text
63 lines
891 B
Text
.dockerignore
|
|
.git
|
|
.gitignore
|
|
logs/
|
|
tmp/
|
|
node_modules/
|
|
|
|
##################################
|
|
#
|
|
# rest is COPIED from .gitignore
|
|
#
|
|
##################################
|
|
|
|
# Ignore bundler config.
|
|
/.bundle
|
|
vendor/bundle
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
!/log/.keep
|
|
/tmp
|
|
.DS_Store
|
|
.swp
|
|
.approvals
|
|
.torus.json
|
|
coverage
|
|
/tags
|
|
|
|
# Ignore public uploads
|
|
/public/uploads/*
|
|
/public/c/*
|
|
/public/i/*
|
|
/public/assets/*
|
|
|
|
# Ignore node_modules
|
|
node_modules/
|
|
|
|
# Generated js bundles
|
|
/app/assets/javascripts/generated/*
|
|
latest.dump
|
|
.byebug_history
|
|
.gitdocs_build/
|
|
|
|
# Ignore application configuration
|
|
/public/packs
|
|
/public/packs-test
|
|
/node_modules
|
|
|
|
# Ignore storybook static site generation
|
|
storybook-static/
|
|
yarn-error.log
|
|
|
|
# Ignore package-lock.json because we use yarn
|
|
package-lock.json
|
|
|
|
#Jetbrains Tools
|
|
.idea/
|
|
|
|
#sitemap
|
|
/public/sitemap.xml.gz
|
|
|
|
# Development Docker storage location
|
|
_docker-storage/
|