Skip to content

Instantly share code, notes, and snippets.

@ibnesayeed
Created December 4, 2017 00:43
Show Gist options
  • Select an option

  • Save ibnesayeed/784e00ae32e3e3cf8c3b5866a7d208c2 to your computer and use it in GitHub Desktop.

Select an option

Save ibnesayeed/784e00ae32e3e3cf8c3b5866a7d208c2 to your computer and use it in GitHub Desktop.
A basic Dockerfile to install various requirements of a simple Python script
FROM python
LABEL maintainer="Sawood Alam <@ibnesayeed>"
RUN pip install beautifulsoup4
RUN pip install requests
WORKDIR /app
COPY linkextractor.py /app/
RUN chmod a+x linkextractor.py
ENTRYPOINT ["./linkextractor.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment