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:
parent
c6019d7852
commit
0c17cdb284
13
Dockerfile
13
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
|
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"]
|
||||||
Loading…
Reference in New Issue