From 0c17cdb2845b1480e79a3a926e23e2006a2a7e3e Mon Sep 17 00:00:00 2001 From: mmmohebi Date: Tue, 18 Nov 2025 12:27:30 +0330 Subject: [PATCH] fix(Dockerfile): Update base image and requirements handling Replaced 'frolvlad/alpine-python3' with 'python:3.14-alpine'. Modified installation to use requirements.txt for dependencies. Updated COPY commands for hoster.py and requirements.txt. --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab83d6b..8159c2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM frolvlad/alpine-python3 +FROM python:3.14-alpine + +COPY requirements.txt /tmp/requirements.txt +RUN pip3 install -r /tmp/requirements.txt -RUN pip3 install docker RUN mkdir /hoster WORKDIR /hoster -ADD hoster.py /hoster/ - -CMD ["python3", "-u", "hoster.py"] - - +COPY hoster.py /hoster/ +CMD ["python3", "-u", "hoster.py"] \ No newline at end of file