Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
brandond committed Aug 28, 2019
1 parent e9eaaa1 commit 2c49581
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3-alpine AS builder
RUN apk --no-cache upgrade
RUN apk --no-cache add alpine-sdk
RUN pip install virtualenv
RUN virtualenv app
COPY ./ /usr/src/kinesyslog
RUN /app/bin/pip install /usr/src/kinesyslog/

FROM python:3-alpine
LABEL maintainer="Brad Davidson <[email protected]>"
RUN apk --no-cache upgrade
COPY --from=builder /app /app
ENTRYPOINT ["/app/bin/kinesyslog"]

0 comments on commit 2c49581

Please sign in to comment.