File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Sandbox base image
2+ FROM safoinext/zenml-sandbox:latest
3+
4+ # Project metadata
5+ LABEL project_name="oncoclear"
6+ LABEL project_version="0.1.0"
7+
8+ # Install project-specific dependencies
9+ RUN pip install --no-cache-dir \
10+ "zenml[server]>=0.50.0" \
11+ "notebook" \
12+ "scikit-learn" \
13+ "pyarrow" \
14+ "pandas"
15+
16+ # Set workspace directory
17+ WORKDIR /workspace
18+
19+ # Clone only the project directory and reorganize
20+ RUN git clone --depth 1 https://github.com/zenml-io/zenml-projects.git /tmp/zenml-projects && \
21+ cp -r /tmp/zenml-projects/oncoclear/* /workspace/ && \
22+ rm -rf /tmp/zenml-projects
23+
24+ # Create a template .env file for API keys
25+ RUN echo "ZENML_PROJECT_SECRET_NAME=YOUR_ZENML_KEY_HERE" && \
26+ echo "ZENML_STORE_URL=YOUR_ZENML_KEY_HERE" && \
27+ echo "ZENML_STORE_API_KEY=YOUR_ZENML_KEY_HERE" > .env
28+
29+ # Create a .vscode directory and settings.json file
30+ RUN mkdir -p /workspace/.vscode && \
31+ echo '{\n'\
32+ ' "workbench.colorTheme": "Default Dark Modern"\n'\
33+ '}' > /workspace/.vscode/settings.json
34+
35+
You can’t perform that action at this time.
0 commit comments