Skip to content

Commit 2f0227c

Browse files
committed
Add filenames to README.md
1 parent 392c473 commit 2f0227c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def get_tcp_connection_string():
6161

6262
Then we can use this function in the `app/__init__.py`
6363

64+
_app/__init__.py_
65+
6466
```python
6567
from flask import Flask
6668
from flask_sqlalchemy import SQLAlchemy
@@ -114,6 +116,8 @@ To build the container you need a `Dockerfile`. The Dockerfile will tell Docker
114116

115117
This `Dockerfile` starts from a pre-made image (Python slim buster in this example) and adds any needed files/configurations.
116118

119+
_Dockerfile_
120+
117121
```Dockerfile
118122
# Starter image
119123
FROM python:3.9-slim-buster
@@ -206,6 +210,8 @@ Just like before we can create a script to run the container as well. We give t
206210

207211
We are adding environment variables to the container to tell our app how to connect to our database.
208212

213+
_scripts/docker_run.sh_
214+
209215
```bash
210216
#!/bin/bash
211217

0 commit comments

Comments
 (0)