From 13369296d3299068279054fff6871c5a49a6b2e2 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch <p.jentsch@uni-bielefeld.de>
Date: Fri, 15 Dec 2023 13:56:03 +0100
Subject: [PATCH] rename docker-entrypoint.sh to docker-nopaque-entrypoint.sh

---
 .dockerignore                                        | 2 +-
 Dockerfile                                           | 8 ++++----
 docker-entrypoint.sh => docker-nopaque-entrypoint.sh | 0
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename docker-entrypoint.sh => docker-nopaque-entrypoint.sh (100%)

diff --git a/.dockerignore b/.dockerignore
index 11064df5..518de1be 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -8,6 +8,6 @@
 !.flaskenv
 !boot.sh
 !config.py
-!docker-entrypoint.sh
+!docker-nopaque-entrypoint.sh
 !nopaque.py
 !requirements.txt
diff --git a/Dockerfile b/Dockerfile
index 8cb662e9..1342134f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]
diff --git a/docker-entrypoint.sh b/docker-nopaque-entrypoint.sh
similarity index 100%
rename from docker-entrypoint.sh
rename to docker-nopaque-entrypoint.sh
-- 
GitLab