Skip to content

Commit

Permalink
Merge pull request #35 from mmig01/main
Browse files Browse the repository at this point in the history
feat: Dockerfile -> CMD && 기호를 사용하도록 변경
  • Loading branch information
mmig01 authored Sep 28, 2024
2 parents 9d8df68 + efe642b commit be87452
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 migrate ", "python manage.py loaddata /app/data.json", "gunicorn --bind 0.0.0.0:8000 project.wsgi:application"]
CMD ["sh", "-c", "python manage.py migrate && python manage.py loaddata /app/data.json && gunicorn --bind 0.0.0.0:8000 project.wsgi:application"]

0 comments on commit be87452

Please sign in to comment.