snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s

This commit is contained in:
upstream-mirror
2026-09-16 05:24:45 +05:00
commit cda7c1a474
272 changed files with 31973 additions and 0 deletions

6
docker/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM scratch
LABEL org.opencontainers.image.source="https://github.com/traggo/server"
WORKDIR /opt/traggo
COPY traggo /opt/traggo
EXPOSE 3030
ENTRYPOINT ["./traggo"]

1
docker/Dockerfile.build Normal file
View File

@@ -0,0 +1 @@
FROM ghcr.io/goreleaser/goreleaser-cross:v1.27.0

15
docker/Dockerfile.dev Normal file
View File

@@ -0,0 +1,15 @@
FROM golang:1.18.1 as builder
RUN apt-get update && apt-get install --yes nodejs npm && npm install --global yarn
WORKDIR /app
COPY . .
ENV GO111MODULE=on
RUN make download-tools install generate build-bin-local
FROM scratch
WORKDIR /opt/traggo
COPY --from=builder /app/build/traggo-server /opt/traggo/traggo
EXPOSE 3030
ENTRYPOINT ["./traggo"]