mirror of https://github.com/oxen-io/lokinet
make pylokinet work
parent
d89e58199a
commit
b521ba4670
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from pylokinet.instance import main
|
||||
main()
|
@ -1,10 +1,12 @@
|
||||
FROM debian:stable
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y build-essential cmake git libcap-dev curl rapidjson-dev
|
||||
apt install -y build-essential cmake git libcap-dev curl rapidjson-dev python3-dev python3-setuptools libsodium-dev
|
||||
|
||||
WORKDIR /src/
|
||||
|
||||
COPY . /src/
|
||||
|
||||
RUN make -j 8 JSONRPC=ON && make install
|
||||
RUN make -j 8 SHARED_LIB=ON JSONRPC=ON && make kubernetes-install
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/python3", "-m", "pylokinet"]
|
Loading…
Reference in New Issue