mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-17 02:04:24 +01:00
added editor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user