pseudotheos commited on
Commit
99f5777
1 Parent(s): 0ecb388

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # Use an official Python runtime as a parent image
2
- FROM python:3.9-slim
3
 
4
  # Set the working directory inside the container
5
  WORKDIR /app
@@ -11,7 +11,7 @@ RUN useradd -m appuser
11
  COPY ./requirements.txt /app/
12
 
13
  # Grant necessary permissions to the non-root user
14
- RUN chown -R appuser /app /usr/local/
15
 
16
  # Switch to the non-root user
17
  USER appuser
 
1
+ # Use NVIDIA CUDA image as the parent image
2
+ FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
3
 
4
  # Set the working directory inside the container
5
  WORKDIR /app
 
11
  COPY ./requirements.txt /app/
12
 
13
  # Grant necessary permissions to the non-root user
14
+ RUN chown -R appuser /app
15
 
16
  # Switch to the non-root user
17
  USER appuser