Initial commit

This commit is contained in:
Marcus Lindvall 2017-10-18 16:35:10 +02:00
commit 351d98c523
36 changed files with 1836 additions and 0 deletions

21
Dockerfile Normal file
View file

@ -0,0 +1,21 @@
FROM python:3-alpine
LABEL description="PyJeeves syncronization application" \
maintainer="Marcus Lindvall <marcus.lindvall@gmail.com>"
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" ]