Add ui installation to docker container builds
This commit is contained in:
parent
35c2e2556e
commit
1df0aa8751
@ -40,7 +40,9 @@ COPY --from=python-deps /root/.local /root/.local
|
|||||||
# Install and execute
|
# Install and execute
|
||||||
COPY . /freqtrade/
|
COPY . /freqtrade/
|
||||||
RUN pip install -e . --no-cache-dir \
|
RUN pip install -e . --no-cache-dir \
|
||||||
&& mkdir /freqtrade/user_data/
|
&& mkdir /freqtrade/user_data/ \
|
||||||
|
&& freqtrade install-ui
|
||||||
|
|
||||||
ENTRYPOINT ["freqtrade"]
|
ENTRYPOINT ["freqtrade"]
|
||||||
# Default to trade mode
|
# Default to trade mode
|
||||||
CMD [ "trade" ]
|
CMD [ "trade" ]
|
||||||
|
@ -41,7 +41,9 @@ COPY --from=python-deps /root/.local /root/.local
|
|||||||
|
|
||||||
# Install and execute
|
# Install and execute
|
||||||
COPY . /freqtrade/
|
COPY . /freqtrade/
|
||||||
RUN pip install -e . --no-cache-dir
|
RUN pip install -e . --no-cache-dir \
|
||||||
|
&& freqtrade install-ui
|
||||||
|
|
||||||
ENTRYPOINT ["freqtrade"]
|
ENTRYPOINT ["freqtrade"]
|
||||||
# Default to trade mode
|
# Default to trade mode
|
||||||
CMD [ "trade" ]
|
CMD [ "trade" ]
|
||||||
|
@ -17,8 +17,8 @@ services:
|
|||||||
# Expose api on port 8080 (localhost only)
|
# Expose api on port 8080 (localhost only)
|
||||||
# Please read the https://www.freqtrade.io/en/latest/rest-api/ documentation
|
# Please read the https://www.freqtrade.io/en/latest/rest-api/ documentation
|
||||||
# before enabling this.
|
# before enabling this.
|
||||||
#ports:
|
# ports:
|
||||||
# - "127.0.0.1:8080:8080"
|
# - "127.0.0.1:8080:8080"
|
||||||
# Default command used when running `docker compose up`
|
# Default command used when running `docker compose up`
|
||||||
command: >
|
command: >
|
||||||
trade
|
trade
|
||||||
|
Loading…
Reference in New Issue
Block a user