mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
add tz info and certs to the image
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -21,9 +21,19 @@ RUN \
|
||||
|
||||
FROM alpine:3.13
|
||||
|
||||
ENV \
|
||||
TERM=xterm-color \
|
||||
TIME_ZONE=America/Chicago
|
||||
|
||||
RUN \
|
||||
apk add --no-cache --update tzdata curl ca-certificates && \
|
||||
cp /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime && \
|
||||
echo "${TIME_ZONE}" > /etc/timezone && date && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY --from=backend /build/reproxy /srv/reproxy
|
||||
RUN chmod +x /srv/reproxy
|
||||
LABEL reproxy.enabled="false"
|
||||
WORKDIR /srv
|
||||
|
||||
CMD ["/srv/reproxy"]
|
||||
ENTRYPOINT ["/srv/reproxy"]
|
||||
|
||||
Reference in New Issue
Block a user