Docker Community Forums

Share and learn in the Docker community.

Better way to make ENTRYPOINT / CMD

At this moment:

FROM alpine:3.10
RUN printf '#!/bin/sh\n/usr/bin/nc $(cat /etc/config_nc.conf) | nc 1001\n'> && \
chmod +x


Works but looks unnecessary much.
Important for me is no local files to be copied in the image and to be able to present configs via volumes, not envs.

Better ways to do this?

1 Like