mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-23 01:39:19 +02:00
31 lines
345 B
Docker
31 lines
345 B
Docker
|
FROM node:10-alpine
|
||
|
|
||
|
RUN apk add --no-cache \
|
||
|
python2 \
|
||
|
make \
|
||
|
g++
|
||
|
|
||
|
RUN mkdir /app
|
||
|
|
||
|
COPY ./app /app
|
||
|
|
||
|
RUN cd /app && \
|
||
|
npm i
|
||
|
|
||
|
COPY ./init.sh /
|
||
|
|
||
|
RUN chmod +x /init.sh
|
||
|
|
||
|
COPY ./init-update.sh /
|
||
|
|
||
|
RUN chmod +x /init-update.sh
|
||
|
|
||
|
COPY ./feed-cron /etc/periodic/15min/
|
||
|
|
||
|
RUN chmod +x /etc/periodic/15min/feed-cron
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
CMD ["/init.sh"]
|
||
|
|