Dockerfile 318 B

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