mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
17 lines
281 B
Docker
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"]
|