We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44ee457 + 66cf9b8 commit e797b3dCopy full SHA for e797b3d
Dockerfile
@@ -50,7 +50,10 @@ COPY nginx-site.conf /etc/nginx/sites-available/default
50
# Ensure deploy.sh has necessary commands (composer install, migrations, cache)
51
RUN mkdir -p /scripts
52
COPY deploy.sh /scripts/00-laravel-deploy.sh
53
-RUN chmod +x /scripts/00-laravel-deploy.sh
+# Install dos2unix, convert line endings, and ensure the script is executable
54
+RUN apk add --no-cache dos2unix && \
55
+ dos2unix /scripts/00-laravel-deploy.sh && \
56
+ chmod +x /scripts/00-laravel-deploy.sh
57
58
# The base image (richarvey/nginx-php-fpm) handles starting Nginx, PHP-FPM,
59
# and running scripts from /scripts. Its default CMD is /start.sh.
0 commit comments