diff --git a/Dockerfile b/Dockerfile index adedbe9..79e82aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index f7f7545..db1707a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: