fcernafukuzaki commited on
Commit
f8fd965
1 Parent(s): d3d6c51

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -6
Dockerfile CHANGED
@@ -2,22 +2,25 @@ FROM python:3.9
2
 
3
  WORKDIR /content
4
 
 
 
 
 
 
5
  # Instala wget
6
  RUN apt-get update && apt-get install -y git
7
 
8
  RUN git clone https://github.com/SkalskiP/yolov9.git
9
 
10
- WORKDIR /content/yolov9
11
 
12
  RUN pip install -r requirements.txt -q
13
 
14
- WORKDIR /content
15
-
16
- COPY ./requirements.txt /code/requirements.txt
17
 
18
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
19
 
20
- RUN chmod -R 777 /content
21
 
22
  COPY . .
23
 
 
2
 
3
  WORKDIR /content
4
 
5
+ RUN mkdir -p proyecto
6
+ RUN chmod -R 777 proyecto
7
+
8
+ WORKDIR /content/proyecto
9
+
10
  # Instala wget
11
  RUN apt-get update && apt-get install -y git
12
 
13
  RUN git clone https://github.com/SkalskiP/yolov9.git
14
 
15
+ WORKDIR /content/proyecto/yolov9
16
 
17
  RUN pip install -r requirements.txt -q
18
 
19
+ WORKDIR /content/proyecto/
 
 
20
 
21
+ COPY ./requirements.txt /content/proyecto/requirements.txt
22
 
23
+ RUN pip install --no-cache-dir --upgrade -r /content/proyecto/requirements.txt
24
 
25
  COPY . .
26