Add the entry point src/devpisrv.sh

This commit is contained in:
Alexander Kharitonov
2022-04-02 20:57:23 +03:00
parent 8ccc20ca10
commit 359d346f71
2 changed files with 14 additions and 2 deletions

View File

@@ -8,5 +8,6 @@ USER devpisrv:devpisrv
RUN pip3 install -U pip
ENV PATH="/home/devpisrv/.local/bin:${PATH}"
RUN pip install -U -r /tmp/requirements.txt
RUN devpi-init --serverdir /var/local/devpisrv
CMD devpi-server --serverdir /var/local/devpisrv --host 0.0.0.0
COPY src/devpisrv.sh /usr/local/bin/
ENTRYPOINT ["devpisrv.sh"]