You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM python:alpine
|
|
|
|
WORKDIR /bot
|
|
COPY . .
|
|
RUN touch settings.cfg
|
|
|
|
RUN apk add --no-cache gcc libc-dev && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
RUN pip install --no-cache-dir --requirement requirements.txt
|
|
|
|
RUN addgroup -g 9999 lilia
|
|
|
|
USER nobody:lilia
|
|
|
|
ENTRYPOINT ["python", "bot.py"]
|