Listen is not intended for use in a standalone Docker environment (currently) due to it's function. However, you could build Listen in a stage and copy the executable to another stage to run a program inside a container:
```dockerfile
# Example Dockerfile
FROM golang:1-alpine AS build
WORKDIR /usr/src/listen
COPY . .
RUN go build .
FROM python:3 AS main
COPY --from=build /usr/src/listen /usr/local/bin
# expect a file mounted to /usr/src/main.py to listen to
Listen was originally a Perl script that came about when I wanted something for my college assignments and also needed to learn Perl for an internship. I wrote it once and haven't touched it or improved upon it since I created it.
This program is a rewrite of that script to implement new features I've wanted using capabilities of a newer programming language. It also gave me an excuse to learn Go, so the spirit of the old script still lives with the new rewrite.
The original repository has been archived [here](https://forge.steck.dev/bryson/listen-perl) for your viewing pleasure.
## License and Warranty Disclaimer
Listen is distributed under the GNU General Public License v3. See the [license](./LICENSE) for more details.
```
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of