Skip to content

Commit

Permalink
Dockerfile의 실행 명령을 gunicorn으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Kim committed Feb 9, 2021
1 parent 2d50664 commit bc76c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ADD ./requirements.txt /app/
RUN pip install -r requirements.txt

ADD ./djangosample /app/djangosample/
ADD ./gunicorn /app/gunicorn/
ADD ./manage.py /app/

CMD ["python", "manage.py", "runserver", "0:8000"]
CMD ["gunicorn", "djangosample.wsgi", "-c", "gunicorn/prod.py"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Django
psycopg2-binary
gunicorn

0 comments on commit bc76c34

Please sign in to comment.