rename docker-entrypoint.sh to docker-nopaque-entrypoint.sh

This commit is contained in:
Patrick Jentsch 2023-12-15 13:56:03 +01:00
parent 4f6e1c121f
commit 13369296d3
3 changed files with 5 additions and 5 deletions

View File

@ -8,6 +8,6 @@
!.flaskenv
!boot.sh
!config.py
!docker-entrypoint.sh
!docker-nopaque-entrypoint.sh
!nopaque.py
!requirements.txt

View File

@ -17,9 +17,6 @@ RUN apt-get update \
&& rm --recursive /var/lib/apt/lists/*
COPY docker-entrypoint.sh /usr/local/bin/
RUN useradd --create-home --no-log-init nopaque \
&& groupadd docker \
&& usermod --append --groups docker nopaque
@ -47,7 +44,10 @@ RUN python3 -m pip install --requirement requirements.txt \
USER root
COPY docker-nopaque-entrypoint.sh /usr/local/bin/
EXPOSE 5000
ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["docker-nopaque-entrypoint.sh"]