diff --git a/Dockerfile b/Dockerfile index db57f9ac..dd9e29b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,15 +7,16 @@ ENV PUBLIC_URL=$PUBLIC_URL_ARG RUN apt-get -y update RUN apt-get install -y gdal-bin libgdal-dev python3-pip python3-gdal -# Use Python3 for python -RUN rm /usr/bin/python && ln -s /usr/bin/python3 /usr/bin/python - # Create app directory WORKDIR /usr/src/app # Install app dependencies COPY python-requirements.txt ./ -RUN python -m pip install --upgrade pip && python -m pip install -r ./python-requirements.txt +RUN rm /usr/lib/python*/EXTERNALLY-MANAGED && \ + pip3 install -r ./python-requirements.txt + +# Use python3 for python +RUN ln -s /usr/bin/python3 /usr/bin/python COPY package*.json ./ RUN npm install diff --git a/python-requirements.txt b/python-requirements.txt index 247ed0cf..a9ced2c7 100644 --- a/python-requirements.txt +++ b/python-requirements.txt @@ -1,3 +1,3 @@ -numpy==1.21.6 +numpy==1.26.4 spiceypy==5.1.2 pymap3d==3.0.1 \ No newline at end of file