Skip to content

Commit

Permalink
Merge pull request #64 from hummingbot/fix/dashboard-docker-error
Browse files Browse the repository at this point in the history
fix/docker-ps-format error
  • Loading branch information
cardosofede authored Sep 21, 2023
2 parents a5334d5 + 785b081 commit 084924a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

0 comments on commit 084924a

Please sign in to comment.