From efe642bbec04cee3f8d6361ceef6fec99a8fd066 Mon Sep 17 00:00:00 2001 From: mingi Date: Sat, 28 Sep 2024 20:35:17 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Dockerfile=20->=20CMD=20&&=20=EA=B8=B0?= =?UTF-8?q?=ED=98=B8=EB=A5=BC=20=EC=82=AC=EC=9A=A9=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4663cb..b9721d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["sh", "-c", "python manage.py migrate && python manage.py loaddata /app/data.json && gunicorn --bind 0.0.0.0:8000 project.wsgi:application"] \ No newline at end of file