docker: improved Dockerfile, changed logging
This commit is contained in:
parent
b22ce29ae1
commit
686decaccf
2 changed files with 18 additions and 8 deletions
13
Dockerfile
13
Dockerfile
|
|
@ -1,10 +1,19 @@
|
|||
# DiscoRSS Dockerfile
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
FROM python:3.13.2-alpine3.21
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY discorss.py ./
|
||||
COPY discorss.conf /etc/
|
||||
RUN mkdir /root/.config
|
||||
RUN mkdir /root/.config/discorss
|
||||
COPY discorss.conf /root/.config/discorss
|
||||
|
||||
RUN pip install --no-cache-dir requests feedparser
|
||||
|
||||
CMD [ "python", "discorss.py" ]
|
||||
CMD [ "python", "discorss.py" ]
|
||||
|
||||
LABEL author="A.M. Rowsell <https://frzn.dev/~amr>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue