fix: docker improvements
bind to all IPs, turn off desktop featuresfeat/type-attributes
parent
1576c78d87
commit
a8da96d6ef
|
@ -25,7 +25,10 @@ docker:
|
|||
rm -rf /var/lib/apt/lists/*
|
||||
COPY +upend-cli/bin /usr/bin/upend
|
||||
COPY --dir +webui/dist /usr/share/upend/webui
|
||||
CMD ["/usr/bin/upend"]
|
||||
ENTRYPOINT ["/usr/bin/upend"]
|
||||
CMD ["serve", "/vault", "--bind", "0.0.0.0:8093"]
|
||||
EXPOSE 8093
|
||||
ENV UPEND_NO_DESKTOP=true
|
||||
ARG tag=trunk
|
||||
SAVE IMAGE --push upend/upend:$tag
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ struct ServeArgs {
|
|||
no_browser: bool,
|
||||
|
||||
/// Disable desktop features (web browser, native file opening).
|
||||
#[arg(long)]
|
||||
#[arg(long, env = "UPEND_NO_DESKTOP")]
|
||||
no_desktop: bool,
|
||||
|
||||
/// Trust the vault, and open local executable files.
|
||||
|
|
Loading…
Reference in New Issue