Dockerfile (318B)
1 FROM python:3.7-alpine3.8 2 3 ENV workdir /data 4 WORKDIR ${workdir} 5 6 RUN mkdir -p ${workdir} && adduser python --disabled-password 7 COPY . ${workdir} 8 WORKDIR ${workdir} 9 RUN pip install --upgrade google-api-python-client oauth2client progressbar2 && \ 10 python setup.py install 11 12 USER python 13 14 ENTRYPOINT ["youtube-upload"]