An open API service indexing awesome lists of open source software.

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.

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
```