Initial commit
This commit is contained in:
commit
351d98c523
36 changed files with 1836 additions and 0 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue