From 498b397cfc934a82288ef4441a894fdfd7ccc3e7 Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 25 Mar 2024 11:47:02 +0100 Subject: [PATCH] added copy and execution of entrypoint.sh --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 02f4ac1..865532a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,10 +20,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 # Expose ports EXPOSE 80 EXPOSE 443 -# Start nginx +# Fetch repo +CMD ["/usr/bin/bash", "entrypoint.sh"] +# CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file