File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,17 @@ FROM python:3.9-slim
2
2
ARG DEBIAN_FRONTEND=noninteractive
3
3
ENV TZ="America/New_York"
4
4
WORKDIR /src/app
5
- ENV DIR=/src/app
6
-
7
5
ENV PTG_URL=http://api:8000
8
6
9
7
RUN apt-get -q update && \
10
- apt-get install -y ffmpeg gcc python3-opencv git \
8
+ apt-get install -y ffmpeg python3-opencv git \
11
9
&& rm -rf /var/lib/apt/lists/*
12
10
13
11
RUN pip install --no-cache-dir git+https://github.com/VIDA-NYU/ptgctl.git
14
- ADD setup.py README.md LICENSE $DIR /
15
- ADD ptgprocess/__init__.py $DIR /ptgprocess/
16
- RUN pip install --no-cache-dir -U -e $DIR /ptgprocess
17
- ADD ptgprocess/ $DIR /ptgprocess/
12
+ ADD setup.py README.md LICENSE ptgprocess /
13
+ ADD ptgprocess/__init__.py ptgprocess /ptgprocess/
14
+ RUN pip install --no-cache-dir -U -e . /ptgprocess
15
+ ADD ptgprocess/* ptgprocess /ptgprocess/
18
16
19
17
ADD recorder/requirements.txt .
20
18
RUN pip install --no-cache-dir -r recorder/requirements.txt
You can’t perform that action at this time.
0 commit comments