Laden...
No images? Click here Application development with DockerModern web development involves a deluge of files, systems, and components: HTML content and templatesCSS stylesheets and preprocessors such as Sassclient-side JavaScript including frameworks such as React, Vue.js, and Svelteweb servers such as NGINX or Apacheserver-side runtimes and frameworks including Node.js, PHP, Python, Ruby, .NET etc.databases such as MySQL, MariaDB, SQL Server, or MongoDBand much more!Managing this stack can be a challenge; developers with slightly different versions of the environment may not be able to run the same code. Virtual machines can help, but they quickly become impractical: VM disk images are large and difficult to copyan individual VM could be updated automatically or by a single developer so it’s out of sync with othersa VM requires considerable computing resourcesDocker solves all these problems and more. Rather than installing dependencies on your PC, you run them in lightweight isolated VM-like environments known as containers. In a single command, you can download, configure, and run whatever combination of services or platforms you require. In Chapter 6 of Docker for Web Developers, you’ll be creating a Node.js “Hello World” application which is built into a Docker image then run as a container. You'll learn how to: Build your own production-level Docker image with a Dockerfile.Launch a container from that image in both production and development environments.Use Docker Compose for easier development.Auto-restart a Node.js application when mounted files change.Debug an application running in a container.Docker for Web DevelopersDocker is shunned by web developers; It's considered too technical, unnecessary, or something for DevOps experts. Terminology can be impenetrable. Tutorials never explain how to use Docker during development. This book is a conciise and practical guide that will get you using Docker in minutes. Start using DockerStart your subscription today and you'll get access to this book, plus 300+ other web design and development books in SitePoint Premium! New subscribers can currently get 60% off for the first three months. That’s $3 a month to access all of our tech books and courses — grab the deal here. Until next time, Level 1, 110 Johnston St, Fitzroy VIC 3065 Australia You're receiving this email because you signed up to receive news from SitePoint. Smart choice! Share Tweet Share Forward Preferences | Unsubscribe |
Laden...
Laden...