Merge branch 'dev' into 'master'

switch base image to python:alpine

See merge request aaron-riedel/shbot!13
This commit is contained in:
Aaron Riedel 2022-03-14 16:31:53 +00:00
commit 1f8f822568

View file

@ -1,11 +1,12 @@
FROM python:slim
FROM python:alpine
WORKDIR ./
ARG PUID=1000
ENV GROUP dockergroup
ENV USER docker
ENV HOMEDIR "/home/${USER}"
RUN useradd -u "${PUID}" -m "${USER}"
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}"
USER ${USER}
WORKDIR ${HOMEDIR}
COPY . .