https://github.com/alekseyscorpi/fruits-vegetables-cv-docker
This repo contains files to build container with postgresql database for fruits-vegetables-cv project (https://github.com/AlekseyScorpi/fruits-vegetables-CV).
https://github.com/alekseyscorpi/fruits-vegetables-cv-docker
docker dockerfile script sql
Last synced: over 1 year ago
JSON representation
This repo contains files to build container with postgresql database for fruits-vegetables-cv project (https://github.com/AlekseyScorpi/fruits-vegetables-CV).
- Host: GitHub
- URL: https://github.com/alekseyscorpi/fruits-vegetables-cv-docker
- Owner: AlekseyScorpi
- Created: 2025-03-28T12:37:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-28T13:05:44.000Z (over 1 year ago)
- Last Synced: 2025-03-28T14:22:42.074Z (over 1 year ago)
- Topics: docker, dockerfile, script, sql
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Please, before run specify .env file:
-
- POSTGRES_USER={postgres_user} (example: postgres)
- POSTGRES_DB={postgtres_db} (example: default)
- POSTGRES_PASSWORD={your_postgres_password} (example: python-fruits)
***
### Build container
```
docker build --build-arg SMART_SCALES_PASSWORD={your_password} -t {your_image_name} .
```
***
### Run container
```
docker run --env-file .env --name {your_container_name} -p 5433:5432 -d {your_image_name}
```