#--------------------SLOW VERSION --------------------------------

# Use an official Python runtime as a parent image,  python:3.8-alpine3.12 does not work properly with numpy
FROM python:3.6-slim

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt
RUN apt-get update && apt-get install -y libfreeimage3

CMD ["python", "data-transform.py"]