Skip to content

Commit

Permalink
Add timezone env to Docker image (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
TioaChan authored Aug 27, 2024
1 parent 3f2281e commit 644b904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ RUN apk add --no-cache --virtual subconverter-deps pcre2 libcurl yaml-cpp
COPY --from=builder /subconverter/subconverter /usr/bin/
COPY --from=builder /subconverter/base /base/

ENV TZ=Africa/Abidjan
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime
RUN echo $TZ > /etc/timezone

# set entry
WORKDIR /base
CMD subconverter
Expand Down

0 comments on commit 644b904

Please sign in to comment.