mirror of
https://github.com/selfhst/icons.git
synced 2026-04-30 13:26:18 -04:00
v4.0.0 (Icon extensions in URLs, hybrid option)
This commit is contained in:
@@ -4,7 +4,7 @@ WORKDIR /app
|
||||
|
||||
COPY go.mod main.go ./
|
||||
|
||||
RUN CGO_ENABLED=0 go build -o server .
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o server .
|
||||
|
||||
FROM scratch
|
||||
|
||||
@@ -15,4 +15,7 @@ USER 65534:65534
|
||||
|
||||
EXPOSE 4050
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
||||
CMD ["/server", "-healthcheck"]
|
||||
|
||||
ENTRYPOINT ["/server"]
|
||||
Reference in New Issue
Block a user