From f6f7b7d74e5109c07bd3a7fdeb887c2175b6fea7 Mon Sep 17 00:00:00 2001 From: Omar Alvarez Date: Thu, 30 Apr 2026 09:10:02 +0200 Subject: [PATCH] Update Dockerfile for Python 3.10 and dependencies Updated Python version to 3.10 and improved package installation. --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00fd3f8e..103e8d8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ FROM colmap/colmap:latest -MAINTAINER Paul-Edouard Sarlin -ARG PYTHON_VERSION=3.8 -RUN apt-get update -y -RUN apt-get install -y unzip wget software-properties-common +LABEL maintainer="Paul-Edouard Sarlin" +ARG PYTHON_VERSION=3.10 +RUN apt-get update -y && \ + apt-get install -y git unzip wget software-properties-common RUN add-apt-repository ppa:deadsnakes/ppa && \ apt-get -y update && \ apt-get install -y python${PYTHON_VERSION} RUN wget https://bootstrap.pypa.io/get-pip.py && python${PYTHON_VERSION} get-pip.py RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 COPY . /app -WORKDIR app/ +WORKDIR /app RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt RUN pip3 install notebook