Generate certificates if they don't exist

This commit is contained in:
2021-12-08 20:32:10 +01:00
parent 2f7676b35e
commit 1732c2c389
8 changed files with 184 additions and 51 deletions

View File

@@ -11,7 +11,8 @@ VOLUME ["/data"]
CMD ["/app/scripts/cross-compile.sh"]
FROM alpine:latest
VOLUME [ "/data" ]
COPY --from=builder-base /app/dist/ezshare /usr/bin/ezshare
EXPOSE 50051
EXPOSE 8088
CMD ["/usr/bin/ezshare", "--config", "/data/ezshare.toml", "serve"]
CMD ["/usr/bin/ezshare", "serve"]