RoniFinTech commited on
Commit
e15aeab
1 Parent(s): 24debd6
Files changed (2) hide show
  1. Dockerfile +5 -2
  2. requirements.txt +2 -2
Dockerfile CHANGED
@@ -1,9 +1,12 @@
1
- # Use the official Python 3.9 image
2
- FROM python:3.9
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
6
 
 
 
 
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
 
 
1
+ # Use an official CUDA runtime as a parent image
2
+ FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
6
 
7
+ # Install Python
8
+ RUN apt-get update && apt-get install -y python3.10 python3-pip
9
+
10
  # Copy the current directory contents into the container at /code
11
  COPY ./requirements.txt /code/requirements.txt
12
 
requirements.txt CHANGED
@@ -9,5 +9,5 @@ accelerate==0.21.0
9
  diffusers==0.19.3
10
  torchvision==0.15.2
11
  safetensors==0.3.1
12
- invisible-watermark==0.2.0
13
- opencv-python-headless==4.8.0.74
 
9
  diffusers==0.19.3
10
  torchvision==0.15.2
11
  safetensors==0.3.1
12
+ # invisible-watermark==0.2.0
13
+ # opencv-python-headless==4.8.0.74