https://github.com/its-alex/docker-alpine-reflex
An alpine container with reflex inside it to dev with docker
https://github.com/its-alex/docker-alpine-reflex
Last synced: 3 months ago
JSON representation
An alpine container with reflex inside it to dev with docker
- Host: GitHub
- URL: https://github.com/its-alex/docker-alpine-reflex
- Owner: Its-Alex
- License: mit
- Created: 2018-10-12T11:37:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-22T08:25:29.000Z (about 3 years ago)
- Last Synced: 2025-10-30T17:48:19.988Z (8 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-alpine-reflex
An alpine container with reflex inside it to dev with docker. With or without golang.
You can use this container to launch and auto-refresh your service in a container.
Docker images:
- [itsalex/alpine-reflex](https://hub.docker.com/r/itsalex/alpine-reflex)
- [itsalex/alpine-reflex-with-golang](https://hub.docker.com/r/itsalex/alpine-reflex-with-golang)
## Build
Without golang:
```sh
$ docker build . -t itsalex/alpine-reflex
```
With golang:
```sh
$ docker build -f golang.Dockerfile . -t itsalex/alpine-reflex-with-golang
```
## How to use
You can use it for example to watch binary:
```sh
docker exec -it itsalex/alpine-reflex reflex -r '/usr/bin/custom_binary' -s -- sh -c '/usr/bin/custom_binary'
```
Or to watch golang files:
```sh
docker exec -it itsalex/alpine-reflex-with-golang:1.20.3-alpine3.17 reflex -r '\.go' -s -- sh -c 'go run main.go'
```
## License
[MIT](https://fr.wikipedia.org/wiki/Licence_MIT)