Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/docker-ps-format error #64

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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