shbot/Dockerfile
Aaron Riedel 2cb6af2062
All checks were successful
continuous-integration/drone/push Build is passing
add architecture to Dockerfile
2022-09-08 00:30:25 +02:00

15 lines
316 B
Docker

FROM amd64/python:3.10.6-alpine3.15
WORKDIR ./
ARG PUID=1000
ENV GROUP dockergroup
ENV USER docker
ENV HOMEDIR "/home/${USER}"
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}"
USER ${USER}
WORKDIR ${HOMEDIR}
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "./bot.py" ]