From 38470a9bba8b7828ad6d44a6c4bb83e1fa213578 Mon Sep 17 00:00:00 2001 From: Wendell Rodrigues Date: Tue, 4 Jun 2024 15:10:47 -0300 Subject: [PATCH] Update dockerfile Update and install dependencies to create docker image --- dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index bdbb5dce9..d1dd80b24 100644 --- a/dockerfile +++ b/dockerfile @@ -8,6 +8,12 @@ ENV PYTHONBUFFERED 1 # Set the working directory in the container WORKDIR /app +# Update and install dependencies +RUN pip install --upgrade pip +RUN apt-get update &&\ + apt-get -y install libgdal-dev &&\ + apt-get -y install g++ + # Install requirements RUN pip install --no-cache-dir lida @@ -15,4 +21,4 @@ RUN pip install --no-cache-dir lida EXPOSE 8080 # Start the Web UI -CMD ["lida", "ui", "--host", "0.0.0.0", "--port", "8080", "--docs"] \ No newline at end of file +CMD ["lida", "ui", "--host", "0.0.0.0", "--port", "8080", "--docs"]