added editor

This commit is contained in:
jash
2018-10-21 18:33:49 +02:00
committed by kexkey
parent ac66c2bb00
commit 8e144065a2

View File

@@ -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