tg_rss_bot/Dockerfile

18 lines
229 B
Docker
Raw Normal View History

FROM python:3.10-alpine
2022-07-21 21:14:56 +00:00
WORKDIR /bot
COPY . .
RUN pip install -r requirements.txt
2022-07-25 23:29:06 +00:00
ENV PYTHONUNBUFFERED=1
# App settings
ENV RSSBOT_DSN=xxx
ENV RSSBOT_TG_TOKEN=xxx
ENV LOG_LEVEL=INFO
2022-07-21 21:14:56 +00:00
ENTRYPOINT [ "python" ]
CMD [ "bot.py" ]