Skip to content

Commit

Permalink
Merge pull request #26 from ramaro/master
Browse files Browse the repository at this point in the history
Dockerfile
  • Loading branch information
gburiola authored Mar 4, 2018
2 parents c1257ef + 3078570 commit 7f3b746
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM alpine

RUN apk --update add --virtual build-dependencies build-base python-dev py-pip && \
apk --update add python libstdc++ gnupg && mkdir /kapitan
WORKDIR /kapitan
COPY kapitan/ kapitan/
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt && apk del build-dependencies


ENV PYTHONPATH="/kapitan/"
ENV SEARCHPATH="/src"
VOLUME ${SEARCHPATH}
WORKDIR ${SEARCHPATH}

ENTRYPOINT ["python", "-m", "kapitan"]

0 comments on commit 7f3b746

Please sign in to comment.