From the course: Docker for Developers
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Continuous integration: Travis file - Docker Tutorial
From the course: Docker for Developers
Continuous integration: Travis file
- [Instructor] The first step in our process is to create a Travis YAML file inside of our project so when we initialize CI with GitHub and Travis, the file automatically executes the testing. We'll also make some adjustments to our Dockerfile that we created previously. So let's go ahead and create our new folder for the new project, and I'll call this node. And then what I'm going to do is go into the Exercise files, grab inside of the Resources from the simple backend, these files right here, and paste them in that new project. The other thing I'm going to do is leverage the Dockerfile that we already created for a backend right here, and I'm going to grab the dockerignore file and the Dockerfile, like so. Copy that, and then bring them into our node project. So if you don't see the dockerignore file, it's probably because your system is not showing hidden files, so make sure that you show them and then select that file.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.