Skip to content

Commit

Permalink
Install tzdata in production image (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbubudi authored May 31, 2019
1 parent 75c498f commit d0289f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
ARG ARCH
FROM multiarch/alpine:${ARCH}-v3.9

RUN apk add --update tzdata && \
rm -rf /var/cache/apk/*

RUN addgroup -S appgroup && \
adduser -S appuser -G appgroup

USER appuser

COPY dist/tides /app/tides

ENTRYPOINT ["/app/tides"]

0 comments on commit d0289f7

Please sign in to comment.