docker and app
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
|
4 |
|
5 |
#COPY ./requirements.txt /code/requirements.txt
|
6 |
|
@@ -15,13 +15,14 @@ RUN git clone https://github.com/open-mmlab/mmpose.git
|
|
15 |
RUN ls
|
16 |
|
17 |
# Change directory to mmpose
|
18 |
-
|
19 |
RUN ls
|
20 |
RUN pip install -r requirements.txt
|
21 |
RUN pip install -e .
|
22 |
|
23 |
# How do we change it back with ..
|
24 |
-
|
|
|
25 |
# RUN mim install "mmpose>=1.1.0"
|
26 |
|
27 |
RUN pip install gradio
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
+
WORKDIR /code
|
4 |
|
5 |
#COPY ./requirements.txt /code/requirements.txt
|
6 |
|
|
|
15 |
RUN ls
|
16 |
|
17 |
# Change directory to mmpose
|
18 |
+
WORKDIR /mmpose
|
19 |
RUN ls
|
20 |
RUN pip install -r requirements.txt
|
21 |
RUN pip install -e .
|
22 |
|
23 |
# How do we change it back with ..
|
24 |
+
WORKDIR /..
|
25 |
+
|
26 |
# RUN mim install "mmpose>=1.1.0"
|
27 |
|
28 |
RUN pip install gradio
|