From fae713e517a7a324c4b18b1899f8509eed562de8 Mon Sep 17 00:00:00 2001 From: G-D4R3 Date: Sat, 28 Sep 2024 17:46:58 +0900 Subject: [PATCH] =?UTF-8?q?mysql=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++--- requirements.txt | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1633b5..d882bc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,10 @@ RUN apt-get -y update RUN apt-get -y install vim RUN apt-get -y install python3.11-dev python3.11-venv python3-pip RUN update-alternatives --install /usr/bin/python3 python /usr/bin/python3.11 1 -RUN apt-get update \ - && apt-get install -y gcc default-libmysqlclient-dev pkg-config \ - && rm -rf /var/lib/apt/lists/* + +RUN apt-get install libmysqlclient-dev -y + +RUN apt-get install -y mysql-client-core-5.6 RUN useradd -b /home -m -s /bin/bash django diff --git a/requirements.txt b/requirements.txt index f7ce1bc..e650098 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,7 +28,6 @@ mysqlclient==2.2.4 oauthlib==3.2.2 packaging==24.1 pillow==10.3.0 -psycopg2==2.9.9 pycparser==2.22 PyJWT==2.8.0 PyMySQL==1.1.1