13 lines
165 B
Docker
13 lines
165 B
Docker
FROM python:3.11
|
|
|
|
RUN mkdir /pyip
|
|
|
|
WORKDIR /pyip
|
|
|
|
COPY requirements.txt /pyip
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY init.py /pyip
|
|
|
|
CMD [ "python", "./init.py" ] |