move pip install of seedsigner working directory to setup.sh

This commit is contained in:
Nick Klockenga
2023-09-07 16:21:58 -04:00
parent ee4d91469d
commit cd851424fe
4 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ services:
build: build:
context: . context: .
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
command: sh -c 'bash -c "tail -f /dev/null"' command: sh -c 'bash -c "docker/setup.sh"'
volumes: volumes:
- ../seedsigner:/seedsigner - ../seedsigner:/seedsigner
+7 -10
View File
@@ -4,20 +4,17 @@ FROM python:3.10-bullseye
RUN apt-get -qq update RUN apt-get -qq update
RUN apt-get -y -qq install zbar-tools RUN apt-get -y -qq install zbar-tools
# temp add/copy seedsigner local repo to do pip3 install # temp copy requirements files to local repo to do pip3 install
ADD . /seedsigner COPY ../requirements.txt /requirements.txt
WORKDIR /seedsigner COPY ../tests/requirements.txt /tests-requirements.txt
#COPY ../requirements.txt /requirements.txt
#COPY ../tests/requirements.txt /tests-requirements.txt
WORKDIR /
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
RUN pip3 install -r tests/requirements.txt RUN pip3 install -r tests-requirements.txt
RUN pip3 install -e .
# clean up copied files # clean up copied files
WORKDIR / RUN rm /requirements.txt
RUN rm -r /seedsigner RUN rm /tests-requirements.txt
# set working dir # set working dir
WORKDIR /seedsigner WORKDIR /seedsigner
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
pip3 install -e .
tail -f /dev/null
+1 -1
View File
@@ -1,7 +1,7 @@
embit==0.7.0 embit==0.7.0
numpy==1.21.1 numpy==1.21.1
Pillow==8.2.0 Pillow==8.2.0
-e git+https://github.com/seedsigner/pyzbar.git@c3c237821c6a20b17953efe59b90df0b514a1c03#egg=pyzbar pyzbar @ git+https://github.com/seedsigner/pyzbar.git@c3c237821c6a20b17953efe59b90df0b514a1c03
qrcode==7.3.1 qrcode==7.3.1
six==1.16.0 six==1.16.0
urtypes @ git+https://github.com/selfcustody/urtypes.git@7fb280eab3b3563dfc57d2733b0bf5cbc0a96a6a urtypes @ git+https://github.com/selfcustody/urtypes.git@7fb280eab3b3563dfc57d2733b0bf5cbc0a96a6a