Skip to content

Commit

Permalink
Merge 50f9c20 into 4634688
Browse files Browse the repository at this point in the history
  • Loading branch information
pyle committed Mar 29, 2020
2 parents 4634688 + 50f9c20 commit 0de4960
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
@@ -0,0 +1,15 @@
FROM python:3.8-alpine as base
FROM base as builder
RUN mkdir /install
COPY . /src
RUN pip install --prefix=/install /src

FROM base
# Added system deps for runtime.
RUN apk add less
COPY --from=builder /install /usr/local
COPY rotate_backups/ /app
WORKDIR /app

ENTRYPOINT ["rotate-backups"]
CMD ["-h"]

0 comments on commit 0de4960

Please sign in to comment.