uzi007 commited on
Commit
002f6b0
1 Parent(s): a284a7e

Updated Dockerfile for GPU Dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -42,12 +42,12 @@ RUN pip3 -V
42
 
43
  # # FROM python:3.10
44
 
45
- # # Switch back to the root user to install Python packages
46
- # USER root
47
 
48
- # # Copy your requirements.txt and install Python packages
49
- # COPY ./requirements.txt /code/requirements.txt
50
- # RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
51
 
52
  # # Create a non-root user and set environment variables
53
  # RUN useradd -m -u 1000 user
 
42
 
43
  # # FROM python:3.10
44
 
45
+ # Switch back to the root user to install Python packages
46
+ USER root
47
 
48
+ # Copy your requirements.txt and install Python packages
49
+ COPY ./requirements.txt /code/requirements.txt
50
+ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
51
 
52
  # # Create a non-root user and set environment variables
53
  # RUN useradd -m -u 1000 user