Skip to content
Snippets Groups Projects
Dockerfile 502 B
Newer Older
FROM nvidia/cuda:12.2.0-base-ubuntu22.04

# Install python and pip
RUN apt-get -y update && \
    apt-get -y install python3 python3-pip && \
    apt-get clean -y

WORKDIR /src

# Copy DAN data
COPY dan dan
COPY requirements.txt *-requirements.txt setup.py VERSION README.md ./
# Install DAN as a package with GitLab package registry
RUN --mount=type=secret,id=netrc,target=/root/.netrc \
    pip install . --no-cache-dir --index-url https://gitlab.teklia.com/api/v4/projects/210/packages/pypi/simple