tuan243 commited on
Commit
6c73a7c
·
verified ·
1 Parent(s): a6bed9b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN useradd -m -u 1000 user
8
  # Copy the requirements file to the /code directory
9
  COPY ./requirements.txt /code/requirements.txt
10
 
 
 
 
11
  # Install the Python dependencies with root and clean up cache
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt && rm -rf /root/.cache
13
 
 
8
  # Copy the requirements file to the /code directory
9
  COPY ./requirements.txt /code/requirements.txt
10
 
11
+ # Install PyTorch
12
+ RUN pip install torch torchvision torchaudio
13
+
14
  # Install the Python dependencies with root and clean up cache
15
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt && rm -rf /root/.cache
16