Added basic extractor

This commit is contained in:
Daniel Huisman
2017-06-27 14:09:51 +02:00
parent 4cc43d84b6
commit 3711251c3a
5 changed files with 153 additions and 1 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Use Python on Alpine Linux as base image
FROM python:alpine
# Create working directory
RUN mkdir -p /app
WORKDIR /app
# Copy requirements.txt to force Docker not to use the cache
COPY requirements.txt /app
# Install app dependencies
RUN pip3 install -r requirements.txt
# Copy app source
COPY . /app
# Define entrypoint of the app
ENTRYPOINT ["python3", "extractor.py"]