squeaknode/docker/test/Dockerfile
Jonathan Zernik 9b14c8016b
Package for umbrel (#528)
* Switch dockerfile base image to buster

* Try to make build work for umbrel

* Remove libs from Dockerfile

* Add build-essential to dockerfile

* Make sqk_dir configurable with environment variable

* Use new env var names
2020-12-30 16:46:48 -08:00

19 lines
430 B
Docker

FROM python:3.8-slim
COPY requirements-itest.txt /
RUN pip3 install -r requirements-itest.txt
WORKDIR /app
COPY proto ./proto
COPY itests/test.sh squeaknode/lightning/lnd_lightning_client.py ./
COPY itests/tests ./tests
RUN python3 -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. \
proto/lnd.proto \
proto/squeak_server.proto \
proto/squeak_admin.proto
RUN chmod +x test.sh
CMD ["bash", "test.sh"]