Skip to content

Commit 6362bc3

Browse files
committed
chore: udpates
1 parent 39eae7a commit 6362bc3

File tree

7 files changed

+13
-15
lines changed

7 files changed

+13
-15
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"cSpell.words": ["ahmnouira", "venv", "virtualenv"]
2+
"cSpell.words": ["ahmnouira", "Rahul", "venv", "virtualenv"]
33
}

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# the starting point image to build your layers on top off
2-
FROM python:3.5-alpine
1+
# The starting point image to build your layers on top off.
2+
FROM python:3.11.2-alpine
33

44
COPY app.py boot.sh ./
55
COPY requirements requirements
6-
# executes commands
6+
# Executes commands.
77
RUN pip install -r requirements/docker.txt
88
RUN chmod +x boot.sh
99

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This app is designed to run in different ways:
2626
### running the app
2727

2828
After installing, run the server using `python app.py`
29-
Access the running app in a browser at the URL written to the console (most likely <http://localhost:5000>)
29+
Access the running app in a browser at the URL written to the console (most likely [http://localhost:5000])
3030

3131
## 2. As a Docker container running on your machine
3232

@@ -35,7 +35,7 @@ Access the running app in a browser at the URL written to the console (most like
3535
3. run `docker build -t flask-hello-world:latest .` to build the docker image
3636
4. `docker images` list the local available images
3737
5. run `docker run --name flask_hello_world -d -p 8000:5000 --rm flask-hello-world:latest` to start the container
38-
6. Navigate to <http://localhost:8000> in a browser to see the results. If you want to share it with your local network devices navigate to http://[your-ip-address]:8000
38+
6. Navigate to [http://localhost:8000] in a browser to see the results. If you want to share it with your local network devices navigate to http://[your-ip-address]:8000
3939

4040
## 3. As a Docker image published in Docker Hub
4141

img/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
### This folder contains the images for _master_ branch
1+
# This folder contains the images for _master_ branch

requirements/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
## The requiremnets files
2-
This folder contains the requirements files
1+
# The requirements files
32

4-
### 1. base.txt
3+
This folder contains the requirements files
54

5+
## 1. base.txt
66

7-
### 2. docker.txt
8-
9-
7+
## 2. docker.txt

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
flask==1.0.2
1+
flask==2.3.2

requirements/docker.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
-r base.txt
2-
gunicorn==19.9.0
2+
gunicorn==20.1.0

0 commit comments

Comments
 (0)