diff --git a/Dockerfile b/Dockerfile index 1649d422..9a63c975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,5 +34,6 @@ EXPOSE 5230 # Directory to store the data, which can be referenced as the mounting point. RUN mkdir -p /var/opt/memos +VOLUME /var/opt/memos ENTRYPOINT ["./memos", "--mode", "prod", "--port", "5230"]