Skip to content

Commit

Permalink
Add .dockerignore and update Dockerfile for example data
Browse files Browse the repository at this point in the history
Introduce a .dockerignore file to exclude unnecessary files like .tif and example data paths from Docker builds. Update the Dockerfile to copy example_data into the image, ensuring all necessary resources are included during the build process.
  • Loading branch information
iosefa committed Dec 3, 2024
1 parent a8d61b2 commit df31dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.tif
docs/example_data/ept
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ RUN mamba install -c conda-forge sqlite gdal pdal -y && \
RUN mkdir ./examples
COPY /docs/examples ./examples

RUN mkdir ./example_data
COPY /docs/example_data ./example_data

ENV PROJ_LIB='/opt/conda/share/proj'
ENV JUPYTER_ENABLE_LAB=yes

Expand Down

0 comments on commit df31dcd

Please sign in to comment.