1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

add some spaces

This commit is contained in:
blu3 2025-01-31 17:00:18 +03:00 committed by GitHub
parent 97fdb3475b
commit 68dbe8d04f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,16 +1,24 @@
FROM golang:1.23-alpine as builder FROM golang:1.23-alpine as builder
RUN apk add --no-cache git gcc musl-dev RUN apk add --no-cache git gcc musl-dev
WORKDIR /go/croc WORKDIR /go/croc
COPY . . COPY . .
RUN go build -v -ldflags="-s -w" RUN go build -v -ldflags="-s -w"
FROM alpine:latest FROM alpine:latest
EXPOSE 9009 EXPOSE 9009
EXPOSE 9010 EXPOSE 9010
EXPOSE 9011 EXPOSE 9011
EXPOSE 9012 EXPOSE 9012
EXPOSE 9013 EXPOSE 9013
COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh / COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
USER nobody USER nobody
ENTRYPOINT ["/croc-entrypoint.sh"] ENTRYPOINT ["/croc-entrypoint.sh"]
CMD ["relay"] CMD ["relay"]