fixed timezone in container
This commit is contained in:
parent
e650bde5a5
commit
527200abe7
@ -6,14 +6,14 @@ WORKDIR /app
|
||||
ARG TARGETARCH
|
||||
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"
|
||||
|
||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
- SPOTIFY_DEVICE_ID=deviceID
|
||||
- SPOTIFY_PLAYLIST_ID=0MJBni0UzdnML1amikx0Rc
|
||||
- SPOTIFY_REDIRECT_URL=http://localhost:3000
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user