1
0

Dockerfile 435 B

123456789101112131415161718192021
  1. FROM python:alpine
  2. ENV PIP_NO_CACHE_DIR=off \
  3. PIP_DISABLE_PIP_VERSION_CHECK=on
  4. ARG API_TOKEN
  5. ENV API_TOKEN=$API_TOKEN
  6. RUN echo $API_TOKEN
  7. RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev curl
  8. RUN apk add --no-cache git git-lfs
  9. WORKDIR /app
  10. ADD requirements.txt /app
  11. RUN pip install --no-cache-dir -r requirements.txt
  12. RUN apk del .build-deps
  13. ADD . /app
  14. # EXPOSE 8081
  15. ENTRYPOINT [ "python", "vanitybot.py" ]