Skip to content

Commit 9e0011b

Browse files
SamyOubouaziznerda-codesRoRoJ
authored
Apply suggestions from code review
Co-authored-by: Néda <[email protected]> Co-authored-by: Rowena Jones <[email protected]>
1 parent 28a7b7e commit 9e0011b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pages/serverless-containers/how-to/build-push-container-image.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This page explains how to create a simple Dockerfile to containerize your applic
2020

2121
- A Scaleway account logged into the [console](https://console.scaleway.com)
2222
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
23-
- Installed [Docker engine](https://docs.docker.com/engine/install/) or the Docker daemon locally.
23+
- Installed [Docker engine](https://docs.docker.com/engine/install/) or the Docker daemon locally
2424
- Created a [Scaleway Registry namespace](/container-registry/how-to/create-namespace/)
2525
- A valid [API key](/iam/how-to/create-api-keys/)
2626

@@ -83,7 +83,7 @@ CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app
8383
</TabsTab>
8484
</Tabs>
8585

86-
## How to build and push your image from your dockerfile
86+
## How to build and push your image from your Dockerfile
8787

8888
1. Open a terminal and navigate to the directory containing your Dockerfile.
8989

@@ -93,7 +93,7 @@ CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app
9393
docker build -t my-application .
9494
```
9595

96-
3. Run the command below to log in to your Scaleway account in the terminal. Do not forget to replace the placeholder with your Container Registry namespace endpoint:
96+
3. Run the command below to log in to your Scaleway account in the terminal. Make sure that you replace the placeholder values with your own:
9797

9898
```
9999
docker login rg.fr-par.scw.cloud/your-container-registry-namespace -u nologin --password-stdin <<< "$SCW_SECRET_KEY"

pages/serverless-jobs/how-to/build-push-container-image.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
meta:
3-
title: ow to build and push a container image
3+
title: How to build and push a container image
44
description: How to build and push a container image based on a Dockerfile for deploying containerized applications with Scaleway Serverless Jobs.
55
content:
6-
h1: ow to build and push a container image
6+
h1: How to build and push a container image
77
paragraph: How to build and push a container image based on a Dockerfile for deploying containerized applications with Scaleway Serverless Jobs.
88
tags: create dockerfile containerize application deployment scaleway
99
dates:
@@ -72,7 +72,7 @@ CMD ["./main"]
7272
</TabsTab>
7373
</Tabs>
7474

75-
## How to build and push your image from your dockerfile
75+
## How to build and push your image from your Dockerfile
7676

7777
1. Open a terminal and navigate to the directory containing your Dockerfile.
7878

@@ -82,7 +82,7 @@ CMD ["./main"]
8282
docker build -t my-application .
8383
```
8484

85-
3. Run the command below to log in to your Scaleway account in the terminal. Do not forget to replace the placeholder with your Container Registry namespace endpoint:
85+
3. Run the command below to log in to your Scaleway account in the terminal. Make sure that you replace the placeholder values with your own.
8686

8787
```sh
8888
docker login rg.fr-par.scw.cloud/your-container-registry-namespace -u nologin --password-stdin <<< "$SCW_SECRET_KEY"

0 commit comments

Comments
 (0)