smart-ipv6-rotator/Dockerfile

13 lines
208 B
Docker
Raw Normal View History

2023-10-25 19:30:16 +00:00
FROM python:3-slim
WORKDIR /app/
COPY requirements.txt .
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -r requirements.txt
COPY . .
ENTRYPOINT ["python", "/app/smart-ipv6-rotator.py"]