Skip to content

Commit

Permalink
Merge pull request #46 from mmig01/main
Browse files Browse the repository at this point in the history
feat: data.json -> Dockerfile 로 이동
  • Loading branch information
mmig01 authored Oct 3, 2024
2 parents e7b5c80 + 023abec commit 14762cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ COPY . .
RUN pip install gunicorn

# Django 마이그레이션 실행 후 Gunicorn으로 서버 시작
CMD ["sh", "-c", "python manage.py loaddata /app/data.json && python manage.py migrate && gunicorn --bind 0.0.0.0:8000 project.wsgi:application"]
CMD ["sh", "-c", "python manage.py loaddata data.json && python manage.py migrate && gunicorn --bind 0.0.0.0:8000 project.wsgi:application"]

0 comments on commit 14762cd

Please sign in to comment.