1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/youtube/youtube-worker/Dockerfile
2017-05-08 07:05:07 +08:00

17 lines
281 B
Docker

#
# Dockerfile for youtube-worker
#
FROM alpine
MAINTAINER kev <noreplay@easypi.pro>
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"]