File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,14 @@ RUN apt-get update && apt-get -y install qpdf poppler-utils && apt-get install -
4
4
COPY requirements.txt .
5
5
RUN pip3 install --upgrade pip
6
6
RUN pip3 install -r requirements.txt
7
+ RUN mkdir /root/.ssh/
8
+ # ---------------- Manual Setup Required ------------------ #
9
+ # Must get Deploy Key and drop it into the server dir #
10
+ COPY flask-cognito-lib_deploy /root/.ssh/flask-cognito-lib_deploy
11
+ # --------------------------------------------------------- #
12
+ RUN touch /root/.ssh/known_hosts
13
+ RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
14
+ RUN git - C /root clone
[email protected] :ShipSolver/flask-cognito-lib.git
15
+ RUN pip3 install -e /root/flask-cognito-lib
7
16
WORKDIR /opt/metadata-extraction
8
17
ENV PYTHONPATH .
Original file line number Diff line number Diff line change @@ -4,5 +4,14 @@ RUN apt -y install tesseract-ocr && apt -y install libtesseract-dev
4
4
COPY requirements.txt .
5
5
RUN pip3 install --upgrade pip
6
6
RUN pip3 install -r requirements.txt
7
+ RUN mkdir /root/.ssh/
8
+ # ---------------- Manual Setup Required ------------------ #
9
+ # Must get Deploy Key and drop it into the server dir #
10
+ COPY flask-cognito-lib_deploy /root/.ssh/flask-cognito-lib_deploy
11
+ # --------------------------------------------------------- #
12
+ RUN touch /root/.ssh/known_hosts
13
+ RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
14
+ RUN git - C /root clone
[email protected] :ShipSolver/flask-cognito-lib.git
15
+ RUN pip3 install -e /root/flask-cognito-lib
7
16
WORKDIR /opt/metadata-extraction/tenant
8
17
ENV PYTHONPATH ..
You can’t perform that action at this time.
0 commit comments