Unverified Commit d2463268 authored by Athurg Gooth's avatar Athurg Gooth Committed by GitHub

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

Add volume define in Dockerfile to protect data
Co-authored-by: 's avatarAthurg Feng <athurg@gooth.org>
parent 3b1bab65
......@@ -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"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment