Princess3 commited on
Commit
1ddbace
1 Parent(s): c9fff6a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -19,14 +19,15 @@ WORKDIR /app
19
 
20
  # Install Python dependencies
21
  RUN pip install --upgrade pip
22
- RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
23
- RUN pip install transformers accelerate requests psutil termcolor sk-learn
24
 
25
  # Copy the current directory contents into the container at /app
26
  COPY . /app
27
 
 
 
 
28
  # Unzip the data.zip file into the /app/data directory
29
  RUN unzip data.zip -d /app/data
30
 
31
  # Set the default command to run when starting the container
32
- CMD ["python", "m3.py"]
 
19
 
20
  # Install Python dependencies
21
  RUN pip install --upgrade pip
 
 
22
 
23
  # Copy the current directory contents into the container at /app
24
  COPY . /app
25
 
26
+ # install requirements
27
+ RUN pip instal -r requirements.txt
28
+
29
  # Unzip the data.zip file into the /app/data directory
30
  RUN unzip data.zip -d /app/data
31
 
32
  # Set the default command to run when starting the container
33
+ CMD ["python", "m5.py"]