mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-09-14 04:45:08 +00:00
move pip install of seedsigner working directory to setup.sh
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
command: sh -c 'bash -c "tail -f /dev/null"'
|
||||
command: sh -c 'bash -c "docker/setup.sh"'
|
||||
volumes:
|
||||
- ../seedsigner:/seedsigner
|
||||
+7
-10
@@ -4,20 +4,17 @@ FROM python:3.10-bullseye
|
||||
RUN apt-get -qq update
|
||||
RUN apt-get -y -qq install zbar-tools
|
||||
|
||||
# temp add/copy seedsigner local repo to do pip3 install
|
||||
ADD . /seedsigner
|
||||
WORKDIR /seedsigner
|
||||
|
||||
#COPY ../requirements.txt /requirements.txt
|
||||
#COPY ../tests/requirements.txt /tests-requirements.txt
|
||||
# temp copy requirements files to local repo to do pip3 install
|
||||
COPY ../requirements.txt /requirements.txt
|
||||
COPY ../tests/requirements.txt /tests-requirements.txt
|
||||
|
||||
WORKDIR /
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN pip3 install -r tests/requirements.txt
|
||||
RUN pip3 install -e .
|
||||
RUN pip3 install -r tests-requirements.txt
|
||||
|
||||
# clean up copied files
|
||||
WORKDIR /
|
||||
RUN rm -r /seedsigner
|
||||
RUN rm /requirements.txt
|
||||
RUN rm /tests-requirements.txt
|
||||
|
||||
# set working dir
|
||||
WORKDIR /seedsigner
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
pip3 install -e .
|
||||
tail -f /dev/null
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
embit==0.7.0
|
||||
numpy==1.21.1
|
||||
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
|
||||
six==1.16.0
|
||||
urtypes @ git+https://github.com/selfcustody/urtypes.git@7fb280eab3b3563dfc57d2733b0bf5cbc0a96a6a
|
||||
|
||||
Reference in New Issue
Block a user