Н
Size: a a a
Н
S

S
FROM python:3.9.5-slim-buster
WORKDIR /src
ENV PYTHONPATH "${PYTHONPATH}"
ENV PATH "/src/scripts"
COPY . /src
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN python -m pip install --upgrade pip && \
pip install poetry && \
poetry config virtualenvs.create false && \
poetry install
RUN chmod +x /src/scripts/*
ENTRYPOINT ["docker-entrypoint.sh"]
Докерфайл. При этом slim-buster основан на дебиане, который юзает аптAR
ENV PATH "/src/scripts"S
S
S
AR
S
GG
GG
GG
S
S
S
GG
GG
AR
S