switched to module and cli install

This commit is contained in:
Derek DeJonghe
2018-05-23 15:09:14 -04:00
parent 611cfeafdf
commit 89689f7a03
7 changed files with 181 additions and 21 deletions

View File

@ -13,8 +13,8 @@ RUN useradd -d /semver semver
WORKDIR /semver
ADD ./ /semver
RUN chown -R semver:semver /semver && chmod -R ug+x /semver/*
RUN pip install -r requirements.txt
RUN python setup.py sdist
RUN pip install dist/semver-1.0.4.tar.gz
CMD python semver.py && python get_version.py
CMD semver && semver_get_version