fixed timezone in container
This commit is contained in:
parent
e650bde5a5
commit
527200abe7
@ -6,14 +6,14 @@ WORKDIR /app
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
|
|
||||||
RUN apk add --no-cache make ca-certificates
|
RUN apk add --no-cache make
|
||||||
|
|
||||||
RUN make build BUILD_ARCH="$TARGETARCH" BUILD_OS="$TARGETOS"
|
RUN make build BUILD_ARCH="$TARGETARCH" BUILD_OS="$TARGETOS"
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
FROM --platform=$TARGETPLATFORM alpine:latest
|
||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
RUN apk add --no-cache tzdata ca-certificates
|
||||||
COPY --from=build /app/build/morningalarm /app/morningalarm
|
COPY --from=build /app/build/morningalarm /app/morningalarm
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ services:
|
|||||||
- SPOTIFY_DEVICE_ID=deviceID
|
- SPOTIFY_DEVICE_ID=deviceID
|
||||||
- SPOTIFY_PLAYLIST_ID=0MJBni0UzdnML1amikx0Rc
|
- SPOTIFY_PLAYLIST_ID=0MJBni0UzdnML1amikx0Rc
|
||||||
- SPOTIFY_REDIRECT_URL=http://localhost:3000
|
- SPOTIFY_REDIRECT_URL=http://localhost:3000
|
||||||
|
- TZ=Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user