Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:alpine

COPY . /app

WORKDIR /app

RUN pip3 install -r requirements.txt --user

ENTRYPOINT [ "python3", "ipgeolocation.py" ]
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ if pip3 is missing:
* easy_install3 pip
* pip3 install -r requirements.txt

Docker Image Setup
===
* docker build -t IP2geolocation .
* docker run IP2geolocation
* an exapmle; docker run IP2geolocation -m

Features
====
Expand Down