From b8d0f6de6fd35dd056436213c9f6e676876d1775 Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 25 Mar 2024 11:50:59 +0100 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 865532a..a9493ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,13 +21,14 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \ # Nginx configuration COPY nginx.conf.dist /etc/nginx/nginx.conf # Entrypoint.sh -COPY entrypoint.sh /root/entrypoint.sh +COPY entrypoint.sh /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/entrypoint.sh # Expose ports EXPOSE 80 EXPOSE 443 # Fetch repo -CMD ["/usr/bin/bash", "entrypoint.sh"] +CMD ["entrypoint.sh"] # CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file