mirror of
https://github.com/skoobasteeve/telegram-moviebot.git
synced 2026-03-20 11:38:57 +00:00
16 lines
351 B
Docker
16 lines
351 B
Docker
FROM python:3-alpine
|
|
|
|
LABEL com.telegram-moviebot.version="0.1"
|
|
|
|
WORKDIR /
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Create unprivileged user to run the script
|
|
RUN addgroup -S telegram && adduser -S telegram -G telegram
|
|
USER telegram:telegram
|
|
|
|
COPY . .
|
|
|
|
CMD [ "python", "/telegram-moviebot/telegram-moviebot.py" ] |