File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ FROM zenmldocker/zenml-sandbox:latest
55LABEL project_name="omni-reader"
66LABEL project_version="0.1.0"
77
8- # Install project-specific dependencies
9- RUN pip install --no-cache-dir \
8+ # Install dependencies
9+ RUN pip install uv
10+ RUN uv pip install --system \
1011 "instructor" \
1112 "jiwer" \
1213 "jiter" \
@@ -32,16 +33,11 @@ RUN git clone --depth 1 https://github.com/zenml-io/zenml-projects.git /tmp/zenm
3233 cp -r /tmp/zenml-projects/omni-reader/* /workspace/ && \
3334 rm -rf /tmp/zenml-projects
3435
35- # Create a template .env file for API keys
36- RUN echo "OPENAI_API_KEY=YOUR_OPENAI_API_KEY" && \
37- echo "MISTRAL_API_KEY=YOUR_MISTRAL_API_KEY" > .env
38-
39- # Create a .vscode directory and settings.json file
36+ # VSCode settings
4037RUN mkdir -p /workspace/.vscode && \
41- echo '{\n'\
42- ' "workbench.colorTheme": "Default Dark Modern"\n'\
43- '}' > /workspace/.vscode/settings.json
38+ printf '{\n "workbench.colorTheme": "Default Dark Modern"\n}' > /workspace/.vscode/settings.json
4439
45-
46- # Set environment variables for compatibility and performance
47- ENV POLARS_SKIP_CPU_CHECK=1
40+ # Create a template .env file for API keys
41+ RUN echo "MISTRAL_API_KEY=YOUR_MISTRAL_API_KEY" >> /workspace/.env
42+ RUN echo "OLLAMA_HOST=YOUR_OLLAMA_HOST" >> /workspace/.env
43+ RUN echo "OPENAI_API_KEY=YOUR_OPENAI_API_KEY" >> /workspace/.env
You can’t perform that action at this time.
0 commit comments