Merge branch 'main' of ssh://git.cesium.pw:2335/niku/5feet11
This commit is contained in:
commit
0944a14a97
@ -1,4 +1,4 @@
|
||||
FROM golang:alpine AS builder
|
||||
FROM golang:1.19-alpine AS builder
|
||||
|
||||
LABEL stage=gobuilder
|
||||
|
||||
@ -19,8 +19,8 @@ RUN go build -ldflags="-s -w" -o /app/5feet11 .
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=builder /usr/share/zoneinfo/Europe/Amsterdam /usr/share/zoneinfo/Europe/Amsterdam
|
||||
ENV TZ Europe/Amsterdam
|
||||
COPY --from=builder /usr/share/zoneinfo/Etc/UTC /usr/share/zoneinfo/Etc/UTC
|
||||
ENV TZ Etc/UTC
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/5feet11 /app/5feet11
|
||||
|
@ -17,13 +17,6 @@ services:
|
||||
- .docker/prometheus:/etc/prometheus
|
||||
- prometheus-data:/prometheus
|
||||
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
|
||||
# api:
|
||||
# build:
|
||||
# context: .
|
||||
# ports:
|
||||
# - 5111:5111
|
||||
# depends_on:
|
||||
# - scylla
|
||||
|
||||
volumes:
|
||||
prometheus-data:
|
Loading…
x
Reference in New Issue
Block a user