FROM python:3-alpine LABEL description="PyJeeves syncronization application" \ maintainer="Marcus Lindvall " RUN apk add --no-cache build-base freetds-dev git \ && pip install --no-cache-dir git+https://github.com/pymssql/pymssql.git \ && apk del --purge build-base freetds-dev git RUN apk add --no-cache freetds WORKDIR /app COPY ./requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r requirements.txt COPY . /app RUN pip install -e . CMD [ "python", "./pyjeeves/main.py" ]