Spaces:
Running
Running
Commit
·
9dc77e2
1
Parent(s):
48a66b6
update
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -51,8 +51,14 @@ RUN composer install --no-interaction --prefer-dist --optimize-autoloader \
|
|
51 |
|
52 |
# git の設定(グローバルが機能するNode.jsベースなのでOK)
|
53 |
RUN git config --global user.email "[email protected]"
|
|
|
|
|
|
|
|
|
|
|
54 |
COPY entrypoint.sh /entrypoint.sh
|
55 |
RUN chmod +x /entrypoint.sh
|
|
|
56 |
# --- デフォルトは Laravel 起動(n8n と切り替え可能)---
|
57 |
CMD ["php", "artisan", "serve", "--host=0.0.0.0", "--port=8888"]
|
58 |
|
|
|
51 |
|
52 |
# git の設定(グローバルが機能するNode.jsベースなのでOK)
|
53 |
RUN git config --global user.email "[email protected]"
|
54 |
+
|
55 |
+
# /app ディレクトリ全体に書き込み権限を付与
|
56 |
+
RUN chmod -R 777 /app
|
57 |
+
|
58 |
+
# entrypoint.sh をコピーして実行権限を付与
|
59 |
COPY entrypoint.sh /entrypoint.sh
|
60 |
RUN chmod +x /entrypoint.sh
|
61 |
+
|
62 |
# --- デフォルトは Laravel 起動(n8n と切り替え可能)---
|
63 |
CMD ["php", "artisan", "serve", "--host=0.0.0.0", "--port=8888"]
|
64 |
|