Skip to content

Commit

Permalink
#508 Update Dockerfile 2, update nupmy
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Mar 11, 2024
1 parent 505d21c commit 3724753
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
numpy==1.21.6
numpy==1.26.4
spiceypy==5.1.2
pymap3d==3.0.1

0 comments on commit 3724753

Please sign in to comment.