0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

#前提
Docker導入済み
Mac

#本題
dockerを本番環境で構築し、Laravelの.envファイルを作成する時にエラーが出たので備忘録として書きます。

ubuntu@ip-172-31-40-123:~$ sudo su 
root@ip-172-31-40-123:/home/ubuntu/book-store/laradock# docker-compose exec workspace bash
root@eee10544329b:/var/www# cp .env.example .env

#エラー発生!!

lsでリストの確認

root@ip-172-31-40-123:/home/ubuntu/book-store# ls
laradock  book-store
laradock/.env
#変更前
APP_CODE_PATH_HOST=../laravel

#変更後
APP_CODE_PATH_HOST=../book-store

初歩的なミスでした。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?