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 89c91ce + 90c5e9a commit e1f05b2Copy full SHA for e1f05b2
.aws/ecs.yml
@@ -130,6 +130,8 @@ Resources:
130
awslogs-region: !Ref AWS::Region
131
awslogs-stream-prefix: ecs
132
WorkingDirectory: /var/www
133
+ Command:
134
+ - php artisan serve --host=0.0.0.0 --port=8000
135
136
# --------------------------
137
# ECS サービス
.docker/php/Dockerfile
@@ -41,6 +41,11 @@ WORKDIR /var/www
41
# アプリケーションファイルをコピー
42
COPY ./apps /var/www
43
44
+# SQLiteの設定
45
+RUN mkdir -p /var/www/database \
46
+ && touch /var/www/database/database.sqlite \
47
+ && chmod 777 /var/www/database/database.sqlite
48
+
49
# 依存関係のインストールとセキュリティ設定
50
ENV COMPOSER_ALLOW_SUPERUSER=1
51
RUN composer install \
0 commit comments