Add tzdata package step to Dockerfile

This change adjusts the Dockerfile to add the `tzdata` package to the Alpine Linux image. This allows users to set a timezone through the `TZ` environment variable when running Deceptifeed as a Docker container.
This commit is contained in:
Ryan Smith
2024-12-05 18:01:08 -08:00
parent f5561776a7
commit 183e078671

View File

@@ -5,6 +5,7 @@ COPY . .
RUN make RUN make
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache tzdata
WORKDIR /data WORKDIR /data
COPY --from=build-stage /build/out / COPY --from=build-stage /build/out /
ENTRYPOINT ["/deceptifeed"] ENTRYPOINT ["/deceptifeed"]