mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-02 09:21:34 +02:00
17 lines
284 B
Docker
17 lines
284 B
Docker
#
|
|
# Dockerfile for youtube-worker
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreplay@datageek.info>
|
|
|
|
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"]
|