mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 07:01:17 +08:00
chore: move flags into env variables (#1732)
This commit is contained in:
parent
65890bc257
commit
45c119627b
1 changed files with 4 additions and 1 deletions
|
@ -36,4 +36,7 @@ EXPOSE 5230
|
|||
RUN mkdir -p /var/opt/memos
|
||||
VOLUME /var/opt/memos
|
||||
|
||||
ENTRYPOINT ["./memos", "--mode", "prod", "--port", "5230"]
|
||||
ENV MEMOS_MODE="prod"
|
||||
ENV MEMOS_PORT="5230"
|
||||
|
||||
ENTRYPOINT ["./memos"]
|
||||
|
|
Loading…
Reference in a new issue