shbot/Dockerfile
drone 06f099ca18
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
Update dependency python to v3.10.6
2022-08-02 21:17:16 +00:00

15 lines
310 B
Docker

FROM 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" ]