Skip to content

Commit

Permalink
[update] dockerfile env
Browse files Browse the repository at this point in the history
  • Loading branch information
polaya07 committed Feb 27, 2024
1 parent 2d31af3 commit 88d7521
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
docker buildx create --use
docker buildx build \
--file ./Dockerfile \
--tag ${{ secrets.DOCKERHUB_ORG }}/somospie_openvisus:latest \
--tag ${{ secrets.DOCKERHUB_ORG }}/somospie_openvisus:tutorial \
--push .
env:
Expand Down
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FROM --platform=linux/amd64 continuumio/miniconda3:23.10.0-1
RUN mkdir app
WORKDIR /app

COPY files/ /app/files
COPY idx_data/ /app/idx_data
COPY openvisuspy/ /app/openvisuspy
COPY GEOtiled/ /app/GEOTiled
COPY Tutorial.ipynb /app
COPY Explore_Data.ipynb /app
COPY files/ /app/files/
COPY idx_data/ /app/idx_data/
COPY openvisuspy/ /app/openvisuspy/
COPY GEOtiled/geotiled /app/geotiled/
COPY Tutorial.ipynb /app/
COPY Explore_Data.ipynb /app/
COPY *.py /app/
COPY environment.yml /app
COPY environment.yml /app/

# Install base utilities
RUN apt-get update \
Expand All @@ -25,9 +25,9 @@ RUN apt-get update \
# /bin/bash ~/miniconda.sh -b -p /opt/conda

# Put conda in path so we can use conda activate
# ENV PATH=$CONDA_DIR/bin:$PATH
#
RUN conda update -n base conda && conda install -n base conda-libmamba-solver && conda config --set solver libmamba
#ENV PATH=$CONDA_DIR/bin:$PATH

#RUN conda update -n base conda && conda install -n base conda-libmamba-solver && conda config --set solver libmamba

WORKDIR /app

Expand All @@ -36,7 +36,7 @@ SHELL ["conda", "run", "-n", "somospie", "/bin/bash", "-c"]

RUN pip install openvisus

WORKDIR /app/GEOtiled/geotiled
WORKDIR /app/geotiled/
RUN pip install -e .

WORKDIR /app/openvisuspy
Expand Down
10 changes: 0 additions & 10 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,13 @@ dependencies:
- gdal
- ipykernel==6.29.2
- ipywidgets==8.1.2
- matplotlib==3.8.2
- ipywidgets-bokeh==1.5.0
- pandas
- pyspark
- findspark
- scikit-learn
- matplotlib
- xmltodict
- requests
- colorcet
- geopandas
- tqdm
- jupyterlab
- tifffile
- rasterio
- imagecodecs
- numpy
- boto3
- param==2.0.2
- bokeh==3.3.4
Expand Down

0 comments on commit 88d7521

Please sign in to comment.