15 lines
187 B
Docker
15 lines
187 B
Docker
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" ]
|