From 31d4b027cfde2fa2f5eb91ea37bd32222b7fbe31 Mon Sep 17 00:00:00 2001 From: david-hummingbot <85695272+david-hummingbot@users.noreply.github.com> Date: Sun, 23 Jul 2023 04:51:44 +0800 Subject: [PATCH] update dockerfile - added gcc to fix issue with psutil error when building docker image - changed copy command to just a single command --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4637b1d..36360bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM continuumio/miniconda3:latest AS builder # Install system dependencies RUN apt-get update && \ - apt-get install -y sudo libusb-1.0 python3-dev && \ + apt-get install -y sudo libusb-1.0 python3-dev gcc && \ rm -rf /var/lib/apt/lists/* WORKDIR /home/dashboard @@ -15,11 +15,7 @@ RUN conda env create -f /tmp/environment_conda.yml && \ rm /tmp/environment_conda.yml # Copy remaining files -COPY main.py . -COPY pages/ pages/ -COPY utils/ utils/ -COPY CONFIG.py . -COPY .streamlit/ .streamlit/ +COPY . . SHELL [ "/bin/bash", "-lc" ]