dockervolume

    Docker Volume

    이전 포스팅에 이어서 django에 있는 static 파일들을 nginx로 동기화하는 방법을 포스팅하도록 하겠습니다. https://meongj-devlog.tistory.com/150 [Docker] django 의 Collectstatic 명령어로 Nginx 컨테이너와 동기화 할 static 파일 취합하기 Collectstatic 명령어 python manage.py collectstatic 프로젝트에 있던 static 파일들이 staticfiles 라는 폴더가 생성된 곳에 복사됨 settings.py STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STAT.. meongj-devlog.tistory.com Docker Volume Named Volume ..