-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (30 loc) · 774 Bytes
/
Dockerfile
File metadata and controls
38 lines (30 loc) · 774 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
# Use NVIDIA's official TensorFlow container as base
FROM nvcr.io/nvidia/tensorflow:24.10-tf2-py3
# Set working directory
WORKDIR /workspace
# Create directory for dataset
RUN mkdir -p /workspace/dataset
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3-pip \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
# Upgrade pip
RUN python -m pip install --upgrade pip
# Install Python packages
RUN pip install --no-cache-dir \
numpy==1.26.0 \
PyYAML \
imblearn \
mne \
coverage \
pandas \
seaborn \
matplotlib \
keras-tuner
# Copy project files, only use it if you dont mount the project directory
#COPY . .
# Set Python path
ENV PYTHONPATH=/workspace
# Default command
CMD ["python3", "main.py"]