19 lines
383 B
Docker
Raw Permalink Normal View History

2017-06-27 14:09:51 +02:00
# 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
2018-08-04 22:48:28 +02:00
ENTRYPOINT ["python3", "-u", "extractor.py"]