File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ COPY . .
7
7
RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/app ./cmd/...
8
8
9
9
FROM alpine:3.19 AS certs
10
- RUN apk add --no-cache ca-certificates && update-ca-certificates
10
+ RUN apk add --no-cache tzdata ca-certificates && update-ca-certificates
11
11
12
12
FROM scratch
13
13
ENTRYPOINT ["/app"]
14
14
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
15
- COPY --from=build /usr/local/bin/app /app
15
+ COPY --from=certs /usr/share/zoneinfo /usr/share/zoneinfo
16
+ COPY --from=build /usr/local/bin/app /app
Original file line number Diff line number Diff line change @@ -15,4 +15,6 @@ services:
15
15
dockerfile : Dockerfile.build
16
16
restart : unless-stopped
17
17
volumes :
18
- - /var/run/docker.sock:/var/run/docker.sock:ro
18
+ - /var/run/docker.sock:/var/run/docker.sock:ro
19
+ environment :
20
+ - TZ=Europe/Paris
You can’t perform that action at this time.
0 commit comments