Skip to content

Add a Dockerfile#3

Open
github-learning-lab[bot] wants to merge 5 commits intomasterfrom
add-dockerfile
Open

Add a Dockerfile#3
github-learning-lab[bot] wants to merge 5 commits intomasterfrom
add-dockerfile

Conversation

@github-learning-lab
Copy link
Contributor

Creating a Dockerfile 🐳

You may have noticed that your workflow didn't run as expected. That's because we don't have a Dockerfile in our repository yet!

We will add a Dockerfile in this pull request. I'll leave a comment with instructions to help you. 😄

@github-learning-lab
Copy link
Contributor Author

Dockerfile 🐳

The Dockerfile contains a set of instructions that get stored in a Docker Image.

We will use a very simple Dockerfile. If you'd like, you can learn more about Dockerfiles.

Step 3: Add a Dockerfile image

⌨️ Activity: Edit the Dockerfile to include the proper image

  1. Edit the Dockerfile located on the add-dockerfile branch in the root of the repository
  2. Paste the following contents inside of the Docker file:
FROM nginx:1.17
COPY . /usr/share/nginx/html
  1. Commit your changes to the add-dockerfile branch

@github-learning-lab github-learning-lab bot mentioned this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant