1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:31 +02:00

17 lines
281 B
Docker
Raw Normal View History

2015-07-13 00:43:50 +08:00
#
# Dockerfile for youtube-worker
#
FROM alpine
2017-05-08 07:05:07 +08:00
MAINTAINER kev <noreplay@easypi.pro>
2015-07-13 00:43:50 +08:00
RUN apk add -U ca-certificates py-pip \
&& rm -rf /var/cache/apk/* \
&& pip install redis youtube-dl
COPY worker.py /code/
VOLUME /data
WORKDIR /data
CMD ["python", "/code/worker.py"]