From 9d5b689e169aa9d6f0606147b0ce3df20dc2000c Mon Sep 17 00:00:00 2001 From: mahdavi Date: Sun, 30 Jun 2024 16:19:14 +0330 Subject: [PATCH] update Dockerfile --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bf6837..423af3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,7 @@ FROM debian:12 ENV PYTHONUNBUFFERED 1 WORKDIR /app RUN apt update -#RUN apt install gnupg2 -y -#RUN echo "deb http://repo.mysql.com/apt/debian/ bullseye mysql-8.0" >> /etc/apt/sources.list -#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29 -#RUN apt update -#RUN apt install libmysqlclient-dev libssl-dev libcrypto++-dev lsb-release python3-pip -y +RUN apt install gnupg2 netcat-traditional libssl-dev libcrypto++-dev lsb-release python3-pip -y COPY requirements.txt /app/requirements.txt RUN pip install -r requirements.txt -RUN apt install netcat -y -RUN apt update -COPY . /app #ENTRYPOINT ["./run.sh"]