https://github.com/dunghenry/github_actions_docker
Auto build and push image to dockerhub
https://github.com/dunghenry/github_actions_docker
docker flask workflow
Last synced: 3 months ago
JSON representation
Auto build and push image to dockerhub
- Host: GitHub
- URL: https://github.com/dunghenry/github_actions_docker
- Owner: dunghenry
- Created: 2022-11-06T06:19:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T09:00:10.000Z (over 3 years ago)
- Last Synced: 2025-03-20T22:52:52.435Z (over 1 year ago)
- Topics: docker, flask, workflow
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Flask + MongoDB
### Set up
#### Step 1
```js
py -3 -m venv venv
```
#### Step 2
```js
pip3 install -U pip virtualenv
```
#### Step 3
```js
virtualenv --system-site-packages -p python ./venv
```
#### Step 4
```js
pip install Flask
```
### Install pymongo
```js
pip install pymongo
```
### Auto reload
```js
flask --app app.py --debug run
```
### Run docker
```js
http://127.0.0.1:5000/
```
```js
http://localhost:5000/
```