Skip to content

Commit

Permalink
chore: use CMD
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jul 16, 2024
1 parent 6a3452d commit f5240d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .docker/Dockerfile.php80
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ COPY bin/* /usr/local/bin/
WORKDIR /var/www/html

ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
CMD ["php-fpm"]
1 change: 1 addition & 0 deletions .docker/Dockerfile.php81
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ COPY bin/* /usr/local/bin/
WORKDIR /var/www/html

ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
CMD ["php-fpm"]
1 change: 1 addition & 0 deletions .docker/Dockerfile.php82
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ COPY bin/* /usr/local/bin/
WORKDIR /var/www/html

ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
CMD ["php-fpm"]
2 changes: 1 addition & 1 deletion .docker/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ if [[ "$HTTP_PORT" != 80 ]]; then
else
echo "💙 Nextclud is up! Access http://localhost"
fi
php-fpm
exec "$@"

0 comments on commit f5240d5

Please sign in to comment.