Last active
October 12, 2023 01:30
-
-
Save gholker/80a8b028eb02f99db9aa7fa843d97d74 to your computer and use it in GitHub Desktop.
WhatsApp whapa dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is intended for use with https://github.com/B16f00t/whapa | |
# Put this file in the root folder as the repo above | |
# | |
# Build with `docker build -t gpsoauth_login -f Dockerfile .` | |
# Run with `docker run -it --rm -v $(pwd)/:/app gpsoauth_login` | |
# | |
# From with the bash shell you can run `python3 whagodrive.py` | |
FROM alpine:3.16 | |
RUN apk upgrade --update-cache --available && \ | |
apk add python3 py3-pip bash git && \ | |
pip install gpsoauth 'urllib3<=1.25.11' | |
ADD doc /app/doc | |
WORKDIR /app/ | |
RUN pip install -r doc/requirements.txt | |
ADD . /app/ | |
WORKDIR /app/libs/ | |
ENTRYPOINT ["bash"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment