Skip to content

Instantly share code, notes, and snippets.

@gholker
Last active October 12, 2023 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gholker/80a8b028eb02f99db9aa7fa843d97d74 to your computer and use it in GitHub Desktop.
Save gholker/80a8b028eb02f99db9aa7fa843d97d74 to your computer and use it in GitHub Desktop.
WhatsApp whapa dockerfile
# 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