Skip to content

Instantly share code, notes, and snippets.

@nirajpandkar
Created June 9, 2019 09:12

Revisions

  1. nirajpandkar created this gist Jun 9, 2019.
    13 changes: 13 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    FROM python:3.6.3

    # install Python modules needed by the Python app
    COPY . /Captcha-Prediction
    WORKDIR /Captcha-Prediction

    RUN pip install --no-cache-dir -r requirements.txt

    # tell the port number the container should expose
    EXPOSE 5000

    # run the application
    CMD ["python", "main.py"]