Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: add volume define in Dockerfile to avoid data lose (#1718)

Athurg Goothd24632682f20
diff --git a/Dockerfile b/Dockerfile
index 1649d4224..9a63c975e 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"]