switch base image to python:alpine

This commit is contained in:
Aaron Riedel 2022-03-14 16:31:53 +00:00
parent 90a1522c2a
commit 58306b1e72

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 . .