Skip to content

Commit 6b90bda

Browse files
Re-add docker files
1 parent d5027a6 commit 6b90bda

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

hands-on/session III/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM --platform=linux/amd64 continuumio/miniconda3:23.10.0-1
2+
3+
RUN mkdir app
4+
WORKDIR /app
5+
6+
7+
COPY *.ipynb /app/
8+
COPY environment.yml /app/
9+
10+
# Install base utilities
11+
RUN apt-get update \
12+
&& apt-get install -y build-essential \
13+
&& apt-get install -y wget \
14+
&& apt-get clean \
15+
&& rm -rf /var/lib/apt/lists/*
16+
17+
WORKDIR /app
18+
19+
RUN conda env create -f environment.yml
20+
SHELL ["conda", "run", "-n", "NSDF-Tutorial", "/bin/bash", "-c"]
21+
22+
RUN pip install openvisus
23+
RUN conda init
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: NSDF-Tutorial
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- python=3.10
7+
- pip
8+
- pip:
9+
- numpy
10+
- matplotlib

0 commit comments

Comments
 (0)