Ashwin V. Mohanan commited on
Commit
e01ca3b
·
1 Parent(s): f03fdde

Change base image to Python 3.10 on Debian Bookworm

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  # Base image with CUDA 12.6.3 and cuDNN
2
  # FROM nvidia/cuda:12.6.3-cudnn-runtime-ubuntu22.04
3
- FROM ubuntu:noble
4
 
5
  # Set environment variables
6
  ARG DEBIAN_FRONTEND=noninteractive
@@ -47,7 +47,7 @@ WORKDIR /home/appuser/app
47
 
48
  # Copy dependency files and install dependencies
49
  COPY --chown=appuser pyproject.toml dawsonia.toml uv.lock LICENSE README.md ./
50
- RUN uv sync --frozen --no-cache \
51
  && chown -R appuser:appuser /home/appuser/app/.venv \
52
  && rm -rf /root/.cache /home/appuser/.cache
53
 
 
1
  # Base image with CUDA 12.6.3 and cuDNN
2
  # FROM nvidia/cuda:12.6.3-cudnn-runtime-ubuntu22.04
3
+ FROM python:3.10-bookworm
4
 
5
  # Set environment variables
6
  ARG DEBIAN_FRONTEND=noninteractive
 
47
 
48
  # Copy dependency files and install dependencies
49
  COPY --chown=appuser pyproject.toml dawsonia.toml uv.lock LICENSE README.md ./
50
+ RUN uv sync -p 3.10 --frozen --no-cache \
51
  && chown -R appuser:appuser /home/appuser/app/.venv \
52
  && rm -rf /root/.cache /home/appuser/.cache
53