Dockerfile 887 Bytes
Newer Older
tilman's avatar
tilman committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM openpose

#RUN apt-get update &&\
#    apt-get install -y python3-setuptools python3-pip

COPY . /app

RUN ls -lisah /app &&\
    python3 -V &&\
    pip3 -V &&\
    pip3 install -r /app/requirements.txt

ENV PYTHONPATH="/workspace/openpose/python:$PYTHONPATH"
ENV OPENPOSE_MODELS="/workspace/openpose/models/"

ENV IN_DIR="/images/in"
ENV OUT_DIR="/images/out"

#RUN ls -lisa /opt/openpose &&\
#    ls -lisa /opt/openpose/build &&\
#    ls -lisa /opt/openpose/models
#    ls -lisa /opt/openpose/build/python &&\

ENTRYPOINT ["/bin/bash"]
#ENTRYPOINT ["python3","/app/detect_structures.py"]
# docker run --rm -it -v "/Users/Tilman/Documents/Programme/Python/forschungspraktikum/art-structures-env/src/images/images_imdahl/:/images/in" -v "/Users/Tilman/Documents/Programme/Python/forschungspraktikum/art-structures-env/src/images/out/docker_out/:/images/out" image-composition-canvas