Skip to content

Pound43/88823764

Repository files navigation

Laravel Logo

Latest Stable Version License

88823764 SE Camp - Laravel

1. ครั้งแรกที่รันให้ทำการ build ก่อน ด้วยคำสั่ง (ทำแค่ครั้งแรก หรือ มีการแก้ Dockerfile)

docker compose build app

2. หลังจาก build แล้วให้ทำการรัน app ด้วยคำสั่ง

docker compose up -d

3. หลังจากนั้นให้ลองรันคำสั่งใน docker ว่าสามารถรันได้ปกติหรือไม่ ด้วยคำสั่ง

docker compose exec app ls -la

หมายเหตุ สามารถรันคำสั่งอื่นๆ ได้โดยการเปลี่ยน  ls -la เป็น command อื่น ๆ

docker compose exec app <command>

4. ในครั้งแรกต้องทำการติดตั้ง package ของ laravel ก่อน ด้วยคำสั่ง composer install

docker compose exec app composer install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors