mirror of
https://github.com/skoobasteeve/telegram-moviebot.git
synced 2026-03-20 19:48:56 +00:00
16 lines
352 B
Docker
16 lines
352 B
Docker
FROM python:3-alpine
|
|
|
|
LABEL com.telegram-moviebot.version="main"
|
|
|
|
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" ] |