Files
deceptifeed/Dockerfile
Ryan Smith 183e078671 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.
2024-12-05 18:01:08 -08:00

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"]