mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 18:47:48 +00:00
I would like to create a package for distribution to PIP, and this seems like the path of least resistance. This is, apparently, the way for shippign arbitrary data with Python [1]. I've at least tried to make it user-firendly via adding a simple utility which just prints out whatever that data path is. [1] https://python-packaging.readthedocs.io/en/latest/non-code-files.html Change-Id: I220ecad84b1d57d01e3f98f15befc700bd97c0b8
9 lines
201 B
Docker
9 lines
201 B
Docker
FROM python:3.7-slim
|
|
COPY . /oopt-gnpy
|
|
WORKDIR /oopt-gnpy
|
|
RUN apt update; apt install -y git
|
|
RUN pip install .
|
|
WORKDIR /shared/example-data
|
|
ENTRYPOINT ["/oopt-gnpy/.docker-entry.sh"]
|
|
CMD ["/bin/bash"]
|