Dockerfile2 (Eng) error) Docker) Solving the Psycopg2 Installation Issue in Docker Containers Docker ) Solving the Psycopg2 Installation Issue in Docker Containers (Eng) Note: This article was written by ordering the chatGPT to write with my idea, and I refined and completed it. 0. When working with Python applications in a Docker container, one common issue you might face is the failure to install the psycopg2 pip package. This issue may arise when attempting to install the package with.. 2023. 2. 11. Django poj.c E3) 프로젝트 서버 진척 내역 - 33일차 Code E - Server 3번 글, 프로젝트 33일 차 (금) 33일 차 프로젝트 서버 진척 내역 1. 파이썬 패키지 pip freeze > requirements.txt pip install -r requirements.txt 사용된 python 패키지 목록을 만들고 그 목록을 이용하여 서버 컨테이너에 패키지를 설치 2. gunicorn 설치 gunicorn은 웹 서버와 장고 애플리케이션을 연결해주는 인터페이스이며, 웹 페이지가 요청하는 동적 로직을 장고로부터 전달한다. 서버 컨테이너 내부에서는 이제 python manage.py runserver 0.0.0.0:포트번호 대신 gunicorn --bind 0.0.0.0:포트번호 config.wsgi:application 명령어를 이용해 웹 애플리케이.. 2022. 5. 21. 이전 1 다음