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.
This commit is contained in:
mmmohebi 2025-11-18 12:27:30 +03:30
parent c6019d7852
commit 0c17cdb284
1 changed files with 6 additions and 7 deletions

View File

@ -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 RUN mkdir /hoster
WORKDIR /hoster WORKDIR /hoster
ADD hoster.py /hoster/ COPY hoster.py /hoster/
CMD ["python3", "-u", "hoster.py"]
CMD ["python3", "-u", "hoster.py"]