Dockerfile aktualisiert

main
Andre 2024-03-25 12:23:23 +01:00
parent 2d4c83edb7
commit 5c0611de35
1 changed files with 3 additions and 4 deletions

View File

@ -20,13 +20,12 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \
# Nginx configuration
COPY nginx.conf.dist /etc/nginx/nginx.conf
COPY webhook.php /usr/share/nginx/html/webhook.php
# Entrypoint.sh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
COPY 99-init-repos.sh /docker-entrypoint.d/99-init-repos.sh
# Expose ports
EXPOSE 80
EXPOSE 443
# Fetch repo
CMD ["entrypoint.sh"]
CMD ["nginx","-g","daemon: off;"]