Contents Menu Expand Light mode Dark mode Auto light/dark mode
OCP Software Development Handbook documentation
OCP Software Development Handbook documentation
  • General
    • Documentation
    • Preferences
    • Code
    • API
  • Python
    • Directory layout
    • Requirements
    • Preferred packages
    • Linting
    • Testing
    • Continuous integration
    • Documentation
    • Configuration
    • Logging
    • Django
    • File formats
    • General style
    • Internationalization (i18n)
    • Packages
    • Performance
  • Rust
  • JavaScript
  • Shell script
  • SQL
  • HTML and CSS
  • Docker
    • .dockerignore
    • Dockerfile
    • Dockerfile for Django
    • Continuous integration
  • Services
    • PostgreSQL
    • RabbitMQ
    • Administrative access
  • Git
  • GitHub
    • For developers
    • For users
    • For maintainers
    • For standards
    • Reference
  • Roadmap
  • Contributing
  v: latest
Versions
latest
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

Docker#

To simplify the GitHub Actions workflow, put the Dockerfile and .dockerignore files in the root of the repository.

  • .dockerignore
  • Dockerfile
    • Dockerfile instructions
    • Layer order
    • Base images
    • System packages
    • Bind mounts
    • Templates
  • Dockerfile for Django
    • Gunicorn
  • Continuous integration

See also

For deploying Docker, see the Deploy documentation. Do not put docker-compose.yaml or .env files in repositories.

Next
.dockerignore
Previous
HTML and CSS
Copyright © 2020, Open Contracting Partnership
Made with Sphinx and @pradyunsg's Furo