certupdater/Dockerfile
Egor Matveev fed8955dd3
Some checks failed
Deploy Dev / Build (pull_request) Failing after 7s
Deploy Dev / Push (pull_request) Has been skipped
Deploy Dev / Deploy dev (pull_request) Has been skipped
fix
2025-05-31 13:48:29 +03:00

14 lines
401 B
Docker

FROM docker:dind
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 py3-pip && ln -sf python3 /usr/bin/python
RUN python3 -m venv venv
RUN venv/bin/python3 -m ensurepip
RUN venv/bin/pip3 install --no-cache --upgrade pip setuptools
RUN mkdir /code
WORKDIR /code
COPY requirements.txt requirements.txt
RUN venv/bin/pip install requirements.txt
ENTRYPOINT [ "venv/bin/python3", "main.py" ]