Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
OCP Software Development Handbook documentation
OCP Software Development Handbook documentation
  • General
    • License
    • Documentation
    • Preferences
    • Code
    • Architecture
    • Library and Web API
  • Python
    • Directory layout
    • Requirements
    • Preferred packages
    • Linting
    • Testing
    • Continuous integration
    • Documentation
    • Configuration
    • Logging
    • Django
    • File formats
    • General style
    • Internationalization (i18n)
    • Accessibility (a11y)
    • Performance
    • Packages
  • Rust
  • JavaScript and TypeScript
  • Shell script
  • HTML and CSS
  • HTTP
  • Docker
    • .dockerignore
    • Dockerfile
    • Dockerfile for Django
    • Continuous integration
  • Services
    • PostgreSQL
    • RabbitMQ
    • Administrative access
  • Git
  • GitHub
    • For developers
    • For users
    • For maintainers
    • For standards
    • Reference
  • Strategy
  • Learning
  • Contributing
Back to top
View 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
HTTP
Copyright © 2020, Open Contracting Partnership
Made with Sphinx and @pradyunsg's Furo