diff --git a/install/Dockerfile b/install/Dockerfile index 7dbf845..eb4ff04 100644 --- a/install/Dockerfile +++ b/install/Dockerfile @@ -1,6 +1,6 @@ FROM node:alpine -RUN apk add --update bash su-exec p7zip && rm -rf /var/cache/apk/* +RUN apk add --update bash su-exec p7zip nano && rm -rf /var/cache/apk/* RUN mkdir -p /app RUN mkdir /.config RUN chmod a+rwx /.config @@ -12,5 +12,7 @@ RUN npm link WORKDIR /data +ENV EDITOR=/usr/bin/nano + ENTRYPOINT ["/sbin/su-exec"] RUN find / -perm +6000 -type f -exec chmod a-s {} \; || true