diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..191381e --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index cd60427..5066c4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,10 @@ RUN go get -d -v ./... && \ FROM alpine COPY --from=builder /app/plexams.go /app/plexams.go -RUN apk add wait4x + +RUN apk --no-cache add tzdata wait4x +ENV TZ=Europe/Berlin +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + EXPOSE 8080 ENTRYPOINT ["/app/plexams.go"] \ No newline at end of file