shbot/Dockerfile

14 lines
No EOL
262 B
Docker

FROM python:alpine
WORKDIR ./
ARG PUID=1000
ENV USER docker
ENV HOMEDIR "/home/${USER}"
RUN useradd -u "${PUID}" -m "${USER}"
USER ${USER}
WORKDIR ${HOMEDIR}
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "./bot.py" ]