mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-28 10:44:20 +01:00
update dockerfile
- added gcc to fix issue with psutil error when building docker image - changed copy command to just a single command
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user