https://github.com/integrii/example-docker-app
An example docker app that prints its version environment variable and logs to stdout.
https://github.com/integrii/example-docker-app
Last synced: 5 months ago
JSON representation
An example docker app that prints its version environment variable and logs to stdout.
- Host: GitHub
- URL: https://github.com/integrii/example-docker-app
- Owner: integrii
- Created: 2017-12-11T20:06:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T21:58:48.000Z (about 8 years ago)
- Last Synced: 2025-03-25T09:51:08.981Z (9 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# example-docker-app
An example docker app that prints its version environment variable and logs to stdout. Just set the environment variable `VERSION` and run.
Build the container:
`make build`
Run the container:
`make run`
## Example Dockerfile
```
FROM integrii/example-docker-app
ENV VERSION="My Version 1.0"
EXPOSE 80
ENTRYPOINT /app/app
```