Merge branch 'dev' into 'master'
switch base image to python:alpine See merge request aaron-riedel/shbot!13
This commit is contained in:
commit
1f8f822568
1 changed files with 3 additions and 2 deletions
|
@ -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 . .
|
||||
|
|
Loading…
Reference in a new issue