-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
49 lines (39 loc) · 966 Bytes
/
Dockerfile
File metadata and controls
49 lines (39 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ForestVision Dockerfile
# Based on NVIDIA PyTorch container with GDAL and geospatial dependencies
FROM nvcr.io/nvidia/pytorch:25.11-py3
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
# Install GDAL system dependencies
RUN apt-get update && apt-get install -y \
gdal-bin \
python3-gdal \
libgdal-dev \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /workspace
# Install Python packages (explicit list as requested)
# Geo
RUN pip install --no-cache-dir \
earthengine-api \
geopandas \
rasterio
# DS
RUN pip install --no-cache-dir \
scikit-learn \
numpy \
pandas
# Misc
RUN pip install --no-cache-dir \
matplotlib \
tqdm \
dotenv
# Hyperparameter Optimization
RUN pip install --no-cache-dir \
"optuna>=3.6.0" \
"optuna-integration>=3.6.0"
# Configuration
RUN pip install --no-cache-dir \
"pyyaml>=6.0"
# Default command
CMD ["/bin/bash"]