Add support for specifying root driectory for zs serve

This commit is contained in:
James Mills
2023-03-12 14:24:34 +10:00
parent 339de0457c
commit d980980a0b
2 changed files with 12 additions and 6 deletions
+3 -1
View File
@@ -47,6 +47,8 @@ RUN addgroup -g "${PGID}" zs && \
adduser -D -H -G zs -h /var/empty -u "${PUID}" zs && \
mkdir -p /data && chown -R zs:zs /data
EXPOSE 8000/tcp
VOLUME /data
WORKDIR /
@@ -57,4 +59,4 @@ COPY .dockerfiles/entrypoint.sh /init
ENTRYPOINT ["/init"]
CMD ["zs""]
CMD ["zs"", "serve", "0.0.0.0:8000", "/data"]