mirror of
https://github.com/r-smith/deceptifeed.git
synced 2025-11-02 13:13:37 +00:00
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.
11 lines
224 B
Docker
11 lines
224 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM golang:latest AS build-stage
|
|
WORKDIR /build
|
|
COPY . .
|
|
RUN make
|
|
|
|
FROM alpine:latest
|
|
RUN apk add --no-cache tzdata
|
|
WORKDIR /data
|
|
COPY --from=build-stage /build/out /
|
|
ENTRYPOINT ["/deceptifeed"] |