mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-01 12:34:24 +01:00
Merge pull request #64 from hummingbot/fix/dashboard-docker-error
fix/docker-ps-format error
This commit is contained in:
@@ -17,7 +17,6 @@ RUN conda env create -f /tmp/environment_conda.yml && \
|
||||
# Copy remaining files
|
||||
COPY . .
|
||||
|
||||
|
||||
SHELL [ "/bin/bash", "-lc" ]
|
||||
RUN echo "conda activate dashboard" >> ~/.bashrc
|
||||
|
||||
@@ -44,9 +43,14 @@ ENV INSTALLATION_TYPE=docker
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y && \
|
||||
apt-get install -y curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Docker CLI
|
||||
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
|
||||
sh get-docker.sh && \
|
||||
rm get-docker.sh
|
||||
|
||||
# Create mount points
|
||||
RUN mkdir -p /home/dashboard/data
|
||||
|
||||
@@ -62,5 +66,4 @@ EXPOSE 8501
|
||||
SHELL [ "/bin/bash", "-lc" ]
|
||||
|
||||
# Set the default command to run when starting the container
|
||||
|
||||
CMD conda activate dashboard && streamlit run main.py
|
||||
|
||||
Reference in New Issue
Block a user