fucking windows
Build and Push Docker Images / build-and-push (push) Successful in 5m40s

This commit is contained in:
2026-04-03 11:33:57 +02:00
parent d86e27db6d
commit 442c18c4aa
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
openssh-client \
unzip \
iputils-ping \
dos2unix \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
@@ -73,7 +74,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh
COPY crontab /etc/cron.d/laravel-cron
RUN chmod 0644 /etc/cron.d/laravel-cron
RUN crontab /etc/cron.d/laravel-cron
RUN dos2unix /usr/local/bin/entrypoint.sh
# Expose ports
EXPOSE 8000
@@ -183,5 +183,9 @@ if [ -z "$START_COMMAND" ]; then
START_COMMAND='php -S 0.0.0.0:8000'
fi
if [ -f /workspace/bin/cake ]; then
sed -i 's/\r$//' /workspace/bin/cake
fi
# Always run the app under pm2-runtime
exec pm2-runtime "$START_COMMAND"