mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Add timezone env to Docker image (#776)
This commit is contained in:
1 parent
3f2281e284
commit
644b9040b9
1 file changed
+4
@@ -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/subconverter /usr/bin/
|
||||||
COPY --from=builder /subconverter/base /base/
|
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
|
# set entry
|
||||||
WORKDIR /base
|
WORKDIR /base
|
||||||
CMD subconverter
|
CMD subconverter
|
||||||
|
|||||||
Reference in new issue
Block a user