𝙼
Size: a a a
𝙼
D
D
D
𝙼
D
NK
D
D
FROM python:buster
RUN apt-get -y update && apt-get -y install locales python3-pip python3
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen
RUN adduser worker
USER worker
WORKDIR /home/worker
COPY --chown=worker:worker requirements.txt requirements.txt
RUN pip3 install --user -r requirements.txt
ENV PATH="/home/worker/.local/bin:${PATH}"
COPY --chown=worker:worker . .
COPY . /src
ENV LANG=en_US.UTF-8
CMD python3 /src/regexp.py
𝙼
NK
𝙼
𝙼
NK
𝙼
D
D
D
𝙼
FROM python:slim
RUN apt-get -y update && apt-get -y install locales gawk
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen
RUN adduser worker
USER worker
WORKDIR /home/worker
COPY --chown=worker:worker requirements.txt requirements.txt
RUN pip3 install --user -r requirements.txt
ENV PATH="/home/worker/.local/bin:${PATH}"
COPY --chown=worker:worker . .
COPY . /src
ENV LANG=en_US.UTF-8
CMD python3 /src/regexp.py