#
# Use the official image, but add envsubst so that we can use
# variable names in the configuration file.
#
FROM zedeus/nitter:latest
RUN apk --no-cache add gettext

ENTRYPOINT ["/usr/bin/env"]
CMD ["/bin/sh", "-c", "envsubst < ./nitter.conf.template > ./nitter.conf && exec ./nitter"]
#CMD ["/bin/sh", "-c", "echo hello ; sleep 60" ]