FROM alpine VOLUME [ "/config" ] VOLUME [ "/data" ] EXPOSE 22 RUN apk add --no-cache openssh lua COPY entry.sh gen.lua / RUN chmod +x entry.sh STOPSIGNAL SIGKILL CMD [ "/entry.sh" ]