forked from ShayManor/WhatTheDuck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 738 Bytes
/
Dockerfile
File metadata and controls
25 lines (18 loc) · 738 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
ARG BASE_IMAGE=ghcr.io/coreweave/ml-containers/torch-extras:17ad6db-base-cuda12.9.1-ubuntu22.04-torch2.10.0-vision0.25.0-audio2.10.0-abi1
FROM ${BASE_IMAGE} AS app
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
MPLBACKEND=Agg
WORKDIR /app
# Minimal OS deps
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN python -m pip install --upgrade pip && \
pip install -r requirements.txt
COPY . .
# Classiq SDK stores auth config at ~/.config/classiq/config.env by default; mount it at runtime.
RUN mkdir -p /root/.config/classiq
CMD ["python", "sweep.py", "--help"]